@Test
public void getFileWithIncrementedNameShouldReturnFileWithTwoAppendedIfFileWithOneAppendedExists() throws IOException {

    createTemporaryFile("bananas.jpg");
    createTemporaryFile("bananas_1.jpg");
    final File file = Tools.getFileWithIncrementedName(new File("bananas.jpg"));
    assertEquals("bananas_2.jpg", file.getName());
}