Changeset 24 for exampleparties/humangui/src/test/java/geniusweb
- Timestamp:
- 10/06/20 13:12:20 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
exampleparties/humangui/src/test/java/geniusweb/exampleparties/humangui/HumanGuiTest.java
r21 r24 6 6 import static org.junit.Assert.assertTrue; 7 7 import static org.mockito.Mockito.mock; 8 import static org.mockito.Mockito.when; 8 9 9 10 import java.io.IOException; … … 28 29 import geniusweb.bidspace.AllBidsList; 29 30 import geniusweb.inform.ActionDone; 31 import geniusweb.inform.Agreements; 30 32 import geniusweb.inform.Finished; 31 33 import geniusweb.inform.Settings; … … 76 78 @After 77 79 public void after() { 78 party.notifyChange(new Finished(null)); 80 Agreements agreements = mock(Agreements.class); 81 when(agreements.toString()).thenReturn("agree"); 82 party.notifyChange(new Finished(agreements)); 79 83 } 80 84
Note:
See TracChangeset
for help on using the changeset viewer.