final PrintStream pos = new PrintStream(file);
pos.close();
final File dest = new File("target/fileRename/newFile.log");
final FileRenameAction action = new FileRenameAction(file, dest, false);
action.execute();
assertTrue("Renamed file does not exist", !dest.exists());
assertTrue("Old file does not exist", !file.exists());
}