Exemple #1
0
 @BeforeStories
 public static void startServer() throws Exception {
   context = new UatContext();
   context.apply();
   server = new MedServer();
   server.start(DEFAULT_UAT_PORT);
 }
Exemple #2
0
 @AfterStories
 public static void killServer() throws Exception {
   if (server != null) {
     server.stop();
   }
 }