@Test public void create() throws IOException { final FileSystemPathBase path = new FileSystemPathBase(testFolder.getRoot().getAbsolutePath(), "a"); new DirectoryBase(path).create(); MatcherAssert.assertThat("The directory wasn't created", path.exist()); }
@Override public final void create() throws IOException { Files.createDirectory(fileSystemPath.path()); }
DirectoryBase implements Directory { @Override public final void create() throws IOException { Files.createDirectory(fileSystemPath.path()); } }
DirectoryBase implements Directory { @Override public final void create() throws IOException { Files.createDirectory(fileSystemPath.path()); } DirectoryBase(String path);  DirectoryBase(Path path);  DirectoryBase(FileSystemPath fileSystemPath); }
DirectoryBase implements Directory { @Override public final void create() throws IOException { Files.createDirectory(fileSystemPath.path()); } DirectoryBase(String path);  DirectoryBase(Path path);  DirectoryBase(FileSystemPath fileSystemPath); @Override final void create(); @Override final void remove(); @Override final boolean exist(); @Override final Path path(); }
DirectoryBase implements Directory { @Override public final void create() throws IOException { Files.createDirectory(fileSystemPath.path()); } DirectoryBase(String path);  DirectoryBase(Path path);  DirectoryBase(FileSystemPath fileSystemPath); @Override final void create(); @Override final void remove(); @Override final boolean exist(); @Override final Path path();  }