import net.knarcraft.serverlauncher.profile.Profile; import net.knarcraft.serverlauncher.server.ServerType; import org.junit.Test; import javax.naming.ConfigurationException; import java.io.IOException; public class DownloadTests { @Test public void downloadJarsTest() throws IOException, ConfigurationException { // Will currently always fail since knarcraft.net is down. ServerType.loadServerTypes(); Profile.downloadJars(); } }