@Test
public void testRenameFile() {

stem.out.println("Test: " + "testRenameFile");
    try {
        File file = File.createTempFile("delete", "me");
        assertTrue(file.exists());
        boolean result = FileHelper.renameFile(file, "new.file");
        assertTrue(result);
        File newFile = new File(file.getParent() + File.separator + "new.file");
        assertTrue(newFile.exists());
        assertFalse(file.exists());
        newFile.delete();
    } catch (IOException ex) {
        Logger.getLogger(FileHelperTest.class.getName()).log(Level.SEVERE, null, ex);
    }
}