mirror of
https://github.com/BentoBoxWorld/BentoBox.git
synced 2024-12-26 19:17:40 +01:00
Fixed PVPListenerTest
This commit is contained in:
parent
54aa2e61d3
commit
e361d9867c
@ -795,7 +795,7 @@ public class PVPListenerTest {
|
|||||||
LingeringPotionSplashEvent e = new LingeringPotionSplashEvent(tp, cloud);
|
LingeringPotionSplashEvent e = new LingeringPotionSplashEvent(tp, cloud);
|
||||||
new PVPListener().onLingeringPotionSplash(e);
|
new PVPListener().onLingeringPotionSplash(e);
|
||||||
// Verify
|
// Verify
|
||||||
Mockito.verify(player, Mockito.times(4)).getUniqueId();
|
Mockito.verify(player, Mockito.times(3)).getUniqueId();
|
||||||
Mockito.verify(cloud).getEntityId();
|
Mockito.verify(cloud).getEntityId();
|
||||||
Mockito.verify(tp, Mockito.times(2)).getShooter();
|
Mockito.verify(tp, Mockito.times(2)).getShooter();
|
||||||
PowerMockito.verifyStatic(Bukkit.class);
|
PowerMockito.verifyStatic(Bukkit.class);
|
||||||
|
Loading…
Reference in New Issue
Block a user