Changeset 24 for exampleparties/anac2019/agentgg/src/test
- Timestamp:
- 10/06/20 13:12:20 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
exampleparties/anac2019/agentgg/src/test/java/geniusweb/exampleparties/agentgg/AgentGGTest.java
r21 r24 35 35 import geniusweb.connection.ConnectionEnd; 36 36 import geniusweb.inform.ActionDone; 37 import geniusweb.inform.Agreements; 37 38 import geniusweb.inform.Finished; 38 39 import geniusweb.inform.Inform; … … 180 181 party.connect(connection); 181 182 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)); 183 187 184 188 verify(reporter).log(eq(Level.INFO), 185 eq("Final ourcome:Finished[ null]"));189 eq("Final ourcome:Finished[agree]")); 186 190 } 187 191
Note:
See TracChangeset
for help on using the changeset viewer.