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