@Test public void create() throws IOException { final FileSystemPathBase path = new FileSystemPathBase(testFolder.newFolder().toString(), "a"); new DirectoryWithAutomaticCreation(new DirectoryBase(path)).create(); MatcherAssert.assertThat("The directory wasn't created", path.exist()); }
@Override public final void create() throws IOException { this.directory.create(); }
DirectoryWithAutomaticCreation implements Directory { @Override public final void create() throws IOException { this.directory.create(); } }
DirectoryWithAutomaticCreation implements Directory { @Override public final void create() throws IOException { this.directory.create(); } DirectoryWithAutomaticCreation(Directory directory); }
DirectoryWithAutomaticCreation implements Directory { @Override public final void create() throws IOException { this.directory.create(); } DirectoryWithAutomaticCreation(Directory directory); @Override final void create(); @Override final void remove(); @Override final Path path(); @Override final boolean exist(); }
DirectoryWithAutomaticCreation implements Directory { @Override public final void create() throws IOException { this.directory.create(); } DirectoryWithAutomaticCreation(Directory directory); @Override final void create(); @Override final void remove(); @Override final Path path(); @Override final boolean exist();  }