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