@Test
public void pathUtilTest2() {

    File[] roots = File.listRoots();
    File basePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar + "test.txt");
    File relativePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar + "test.txt");
    String path = PathUtil.getRelativeFileInternal(basePath, relativePath);
    /*the "internal" version of the method in PathUtil doesn't handle the case when the "leaf" of the base path
    is a file, this is handled by the two public wrappers. Since we're not calling them, the correct return is
    a single dot"*/
    Assert.assertEquals(path, ".");
}