Fixes MobSpawnListener test class

This commit is contained in:
tastybento 2019-03-09 18:50:19 -08:00
parent ee5a2c920b
commit 9f997f4548

View File

@ -121,6 +121,11 @@ public class MobSpawnListenerTest {
// Default - plugin is loaded
when(plugin.isLoaded()).thenReturn(true);
// Utils
when(Util.isPassiveEntity(Mockito.any())).thenCallRealMethod();
when(Util.isHostileEntity(Mockito.any())).thenCallRealMethod();
}
@Test