@Test public void remove() throws IOException { final java.io.File file = testFolder.getRoot(); new DirectoryWithAutomaticDeletion(new Directory.Fake(file.toPath())).remove(); MatcherAssert.assertThat("The directory exists", file.exists()); }
@Override public final void remove() throws IOException { directory.remove(); }
DirectoryWithAutomaticDeletion implements Directory { @Override public final void remove() throws IOException { directory.remove(); } }
DirectoryWithAutomaticDeletion implements Directory { @Override public final void remove() throws IOException { directory.remove(); } DirectoryWithAutomaticDeletion(Directory directory); }
DirectoryWithAutomaticDeletion implements Directory { @Override public final void remove() throws IOException { directory.remove(); } DirectoryWithAutomaticDeletion(Directory directory); @Override final void create(); @Override final void remove(); @Override final Path path(); @Override final boolean exist(); }
DirectoryWithAutomaticDeletion implements Directory { @Override public final void remove() throws IOException { directory.remove(); } DirectoryWithAutomaticDeletion(Directory directory); @Override final void create(); @Override final void remove(); @Override final Path path(); @Override final boolean exist();  }