WCInfo () { WCInfo found = null; final File workingIoFile = virtualToIoFile(myWorkingCopyDir); final List<WCInfo> infos = vcs.getAllWcInfos(); for (WCInfo info : infos) { if (FileUtil.filesEqual(workingIoFile, new File(info.getPath()))) { found = info; break; } } assertNotNull(found); return found; }