mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-11-30 14:43:49 +01:00
Fixes MobSpawnListener test class
This commit is contained in:
parent
ee5a2c920b
commit
9f997f4548
@ -121,6 +121,11 @@ public class MobSpawnListenerTest {
|
|||||||
|
|
||||||
// Default - plugin is loaded
|
// Default - plugin is loaded
|
||||||
when(plugin.isLoaded()).thenReturn(true);
|
when(plugin.isLoaded()).thenReturn(true);
|
||||||
|
|
||||||
|
// Utils
|
||||||
|
when(Util.isPassiveEntity(Mockito.any())).thenCallRealMethod();
|
||||||
|
when(Util.isHostileEntity(Mockito.any())).thenCallRealMethod();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
|
Loading…
Reference in New Issue
Block a user