@Test
public void testRenameNonExistingFile() throws IOException {

	final FileSystem fs = FileSystem.getLocalFileSystem();
	final File srcFile = new File(temporaryFolder.newFolder(), "someFile.txt");
	final File destFile  = new File(temporaryFolder.newFolder(), "target");
	final Path srcFilePath = new Path(srcFile.toURI());
	final Path destFilePath = new Path(destFile.toURI());
	// this cannot succeed because the source file does not exist
	assertFalse(fs.rename(srcFilePath, destFilePath));
}