@Test
public void testCombinePaths() {

    String expected = "/1/2/3/4/5";
    // Deal with OS differences
    expected = expected.replace("/", File.separator);
    // Probably not really nice to do multiple tests at once, but they are
    // almost trivial anyway..
    Assert.assertEquals(expected, Utils.combinePaths("/1/2/3", "4/5"));
    Assert.assertEquals(expected, Utils.combinePaths("/1/2", "3", "4/5"));
}