Changeset 24 for exampleparties/anac2019/winkyagent/src/test
- Timestamp:
- 10/06/20 13:12:20 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
exampleparties/anac2019/winkyagent/src/test/java/geniusweb/exampleparties/anac2019/winkyagent/WinkyAgentTest.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; … … 174 175 party.connect(connection); 175 176 party.notifyChange(settings); 176 party.notifyChange(new Finished(null)); 177 178 Agreements agreements = mock(Agreements.class); 179 when(agreements.toString()).thenReturn("agree"); 180 party.notifyChange(new Finished(agreements)); 177 181 178 182 verify(reporter).log(eq(Level.INFO), 179 eq("Final ourcome:Finished[ null]"));183 eq("Final ourcome:Finished[agree]")); 180 184 } 181 185
Note:
See TracChangeset
for help on using the changeset viewer.