@AfterClass
  public void stopServer() throws Exception {
    closeQuietly(httpClient);

    if (server != null) {
      server.stop();
    }
  }
Exemplo n.º 2
0
 @SuppressWarnings("deprecation")
 @AfterMethod
 public void teardown() {
   Closeables.closeQuietly(server);
   Closeables.closeQuietly(client);
 }