void (final ContentRevision beforeRevision, final String beforePath) { File beforeFile = new File(myWorkingCopyDir.getPath(), beforePath); String beforeFullPath = FileUtil.toSystemIndependentName(beforeFile.getPath()); final String beforeRevPath = FileUtil.toSystemIndependentName(beforeRevision.getFile().getPath()); Assert.assertTrue(beforeFullPath + "!=" + beforeRevPath, beforeFullPath.equalsIgnoreCase(beforeRevPath)); }