@Test
public void appendSlashShouldWorkWithWindowsPaths() {

    System.setProperty("file.separator", "\\");
    assertEquals("C:\\some folder\\logs\\", Tools.appendSlash("C:\\some folder\\logs"));
    assertEquals("C:\\some folder\\logs\\", Tools.appendSlash("C:\\some folder\\logs\\"));
}