@After public void teardown() throws InterruptedException { server.stopServer(); Thread.sleep(5000); for (File file : (new File("data")).listFiles()) { file.delete(); } }
@Before public void setup() { server.startServer(); }