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/simpleboa/src/test/java/geniusweb/exampleparties/simpleboa/SimpleBoaTest.java

    r21 r24  
    3737import geniusweb.connection.ConnectionEnd;
    3838import geniusweb.inform.ActionDone;
     39import geniusweb.inform.Agreements;
    3940import geniusweb.inform.Finished;
    4041import geniusweb.inform.Inform;
     
    164165                party.connect(connection);
    165166                party.notifyChange(settings);
    166                 party.notifyChange(new Finished(null));
     167
     168                Agreements agreements = mock(Agreements.class);
     169                when(agreements.toString()).thenReturn("agree");
     170                party.notifyChange(new Finished(agreements));
    167171
    168172                verify(reporter).log(eq(Level.INFO),
    169                                 eq("Final ourcome:Finished[null]"));
     173                                eq("Final ourcome:Finished[agree]"));
    170174        }
    171175
Note: See TracChangeset for help on using the changeset viewer.