@Test public void path() { final Path file = testFolder.getRoot().toPath(); MatcherAssert.assertThat( new DirectoryWithAutomaticDeletion(new Directory.Fake(file)).path(), Matchers.equalTo(file)); }
@Override public final Path path() { return directory.path(); }
DirectoryWithAutomaticDeletion implements Directory { @Override public final Path path() { return directory.path(); } }
DirectoryWithAutomaticDeletion implements Directory { @Override public final Path path() { return directory.path(); } DirectoryWithAutomaticDeletion(Directory directory); }
DirectoryWithAutomaticDeletion implements Directory { @Override public final Path path() { return directory.path(); } 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 Path path() { return directory.path(); } DirectoryWithAutomaticDeletion(Directory directory); @Override final void create(); @Override final void remove(); @Override final Path path(); @Override final boolean exist();  }