@Test
public void testReadableAndOverwritableFile() throws Exception {

    Path path = Files.createTempFile( "prefix", null );
    path.toFile().deleteOnExit();
    String pathName = path.toString();
    assertTrue( Files.isReadable( new PathConverter( READABLE ).convert( pathName ) ) );
    assertTrue( Files.exists( new PathConverter( READABLE ).convert( pathName ) ) );
    assertTrue( Files.isWritable( new PathConverter( READABLE ).convert( pathName ) ) );
    assertTrue( Files.isWritable( new PathConverter( FILE_OVERWRITABLE).convert( pathName ) ) );
}