@Test
public void pathUtilTest1() {

    File[] roots = File.listRoots();
    if (roots.length > 1) {
        File basePath = new File(roots[0] + "some" + File.separatorChar + "dir" + File.separatorChar + "test.txt");
        File relativePath = new File(roots[1] + "some" + File.separatorChar + "dir" + File.separatorChar + "test.txt");
        String path = PathUtil.getRelativeFileInternal(basePath, relativePath);
        Assert.assertEquals(path, relativePath.getPath());
    }
}