Ignore:
Timestamp:
10/06/20 13:12:20 (4 years ago)
Author:
bart
Message:

Fixes an issue with processing maxPower of a vote. Javadoc maven plugin now uses latest version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • exampleparties/anac2019/agentgg/src/test/java/geniusweb/exampleparties/agentgg/AgentGGTest.java

    r21 r24  
    3535import geniusweb.connection.ConnectionEnd;
    3636import geniusweb.inform.ActionDone;
     37import geniusweb.inform.Agreements;
    3738import geniusweb.inform.Finished;
    3839import geniusweb.inform.Inform;
     
    180181                party.connect(connection);
    181182                party.notifyChange(settings);
    182                 party.notifyChange(new Finished(null));
     183
     184                Agreements agreements = mock(Agreements.class);
     185                when(agreements.toString()).thenReturn("agree");
     186                party.notifyChange(new Finished(agreements));
    183187
    184188                verify(reporter).log(eq(Level.INFO),
    185                                 eq("Final ourcome:Finished[null]"));
     189                                eq("Final ourcome:Finished[agree]"));
    186190        }
    187191
Note: See TracChangeset for help on using the changeset viewer.