@Test
public void getFileWithIncrementedNameShouldReturnFileWithOneAppendedIfFileWithOriginalNameExists() throws IOException {

    createTemporaryFile("monkeys.jpg");
    final File file = Tools.getFileWithIncrementedName(new File("monkeys.jpg"));
    assertEquals("monkeys_1.jpg", file.getName());
    assertNull(file.getParent());
}