@Test
public void testDirectoryExisting() throws Exception {

    Path path = Files.createTempDirectory( "prefix" );
    path.toFile().deleteOnExit();
    String pathName = path.toString();
    assertTrue( Files.isDirectory( new PathConverter( DIRECTORY_EXISTING ).convert( pathName ) ) );
}