Fix weird test import in EnderDragonPhaseTest

This commit is contained in:
md_5 2019-04-23 21:28:41 +10:00
parent c088132472
commit 364b6fbb73

View file

@ -1,6 +1,5 @@
package org.bukkit.entity; package org.bukkit.entity;
import static junit.framework.TestCase.*;
import net.minecraft.server.DragonControllerPhase; import net.minecraft.server.DragonControllerPhase;
import org.bukkit.craftbukkit.entity.CraftEnderDragon; import org.bukkit.craftbukkit.entity.CraftEnderDragon;
import org.junit.Assert; import org.junit.Assert;
@ -12,8 +11,8 @@ public class EnderDragonPhaseTest {
public void testNotNull() { public void testNotNull() {
for (EnderDragon.Phase phase : EnderDragon.Phase.values()) { for (EnderDragon.Phase phase : EnderDragon.Phase.values()) {
DragonControllerPhase dragonControllerPhase = CraftEnderDragon.getMinecraftPhase(phase); DragonControllerPhase dragonControllerPhase = CraftEnderDragon.getMinecraftPhase(phase);
assertNotNull(phase.name(), dragonControllerPhase); Assert.assertNotNull(phase.name(), dragonControllerPhase);
assertNotNull(phase.name(), CraftEnderDragon.getBukkitPhase(dragonControllerPhase)); Assert.assertNotNull(phase.name(), CraftEnderDragon.getBukkitPhase(dragonControllerPhase));
} }
} }