@Before public void setUp() throws IOException { fixture.getServer().setForwardingFilter(new AcceptAllForwardingFilter()); File file = httpServer.getDocRoot().newFile("index.html"); FileUtil.writeToFile(file, "<html><head/><body><h1>Hi!</h1></body></html>"); }