@Test
public void getFileWithIncrementedNameShouldHandleDots() throws IOException {

    createTemporaryFile("this.is.a.song.ogg");
    createTemporaryFile("this.is.a.song_1.ogg");
    final File file = Tools.getFileWithIncrementedName(new File("this.is.a.song.ogg"));
    assertEquals("this.is.a.song_2.ogg", file.getName());
}