void (String srcPath, String dstPath, String expected) { VirtualFile src = myRoot.findFileByRelativePath(srcPath); assertNotNull(srcPath, src); VirtualFile dst = myRoot.findFileByRelativePath(dstPath); assertNotNull(dstPath, dst); assertEquals(expected, VfsUtilCore.findRelativePath(src, dst, '/')); }