Changeset 24 for exampleparties/simpleboa/src/test/java/geniusweb
- Timestamp:
- 10/06/20 13:12:20 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
exampleparties/simpleboa/src/test/java/geniusweb/exampleparties/simpleboa/SimpleBoaTest.java
r21 r24 37 37 import geniusweb.connection.ConnectionEnd; 38 38 import geniusweb.inform.ActionDone; 39 import geniusweb.inform.Agreements; 39 40 import geniusweb.inform.Finished; 40 41 import geniusweb.inform.Inform; … … 164 165 party.connect(connection); 165 166 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)); 167 171 168 172 verify(reporter).log(eq(Level.INFO), 169 eq("Final ourcome:Finished[ null]"));173 eq("Final ourcome:Finished[agree]")); 170 174 } 171 175
Note:
See TracChangeset
for help on using the changeset viewer.