Rename the TestJailStuff to TestJailDefaultConfig

This commit is contained in:
graywolf336 2014-07-23 14:48:39 -05:00
parent 47fd0d7632
commit 59c583e8b3

View File

@ -1,7 +1,9 @@
package test.java.com.graywolf336.jail;
import static org.junit.Assert.*;
import static org.hamcrest.CoreMatchers.is;
import static org.junit.Assert.assertEquals;
import static org.junit.Assert.assertTrue;
import static org.junit.Assert.assertFalse;
import static org.junit.Assert.assertNotNull;
import java.util.List;
@ -20,7 +22,7 @@ import com.graywolf336.jail.enums.Settings;
@RunWith(PowerMockRunner.class)
@PrepareForTest({ JailMain.class, PluginDescriptionFile.class })
public class TestJailStuff {
public class TestJailDefaultConfig {
private static TestInstanceCreator creator;
private static JailMain main;
@ -38,15 +40,6 @@ public class TestJailStuff {
creator.tearDown();
main = null;
}
@Test
public void testForJails() {
assertNotNull("The HandCuffManager is null.", main.getHandCuffManager());
assertNotNull("The JailIO is null.", main.getJailIO());
assertNotNull("The JailManager is null.", main.getJailManager());
assertNotNull("The HashSet for jails return is null.", main.getJailManager().getJails());
assertThat(main, is(main.getJailManager().getPlugin()));
}
@Test
public void testSystemDefaultConfig() {