inventory #14
@@ -61,7 +61,7 @@ class PlayerTest {
|
||||
p.learnJob(new Miner(p));
|
||||
var mockAction = mock(DigAction.class);
|
||||
p.performAction(mockAction);
|
||||
verify(mockAction, times(1)).execute(any());
|
||||
verify(mockAction, times(1)).execute(p);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user