@Test public void testFileInSubFolder() throws IOException { root.subFolder("folderA").subFolder("folderB").createFile("test.html").close(); output.assertSingleFile("folderA/folderB/test.html"); output.close(); output.assertAllClosed(); }
@Test public void testFileInRoot() throws IOException { root.createFile("test.html").close(); output.assertSingleFile("test.html"); }
@After public void teardown() throws IOException { output.close(); output.assertAllClosed(); }