@Test
public void testDirectoryNotOverwritable() throws Exception {

    Path path = Files.createTempDirectory( "prefix" );
    path.toFile().deleteOnExit();
    String pathName = path.toString();
    exception.expect( ValueConversionException.class );
    exception.expectMessage( "File [" + pathName );
    new PathConverter( FILE_OVERWRITABLE).convert( pathName );
}