103104105106107108109110111112113
IModule module = artifacts[0].getModule(); IServer httpServer = getHelper().getHTTPServer(); Assert.assertNotNull(httpServer); httpServer.stop(true); ServerCore.setDefaultServer(module, httpServer, new NullProgressMonitor()); }