Change (String path) { VirtualFile file = VfsTestUtil.createFile(myBaseDir, path); FilePath filePath = VcsUtil.getFilePath(file); ContentRevision beforeRevision = new MockContentRevision(filePath, new VcsRevisionNumber.Int(1)); ContentRevision afterRevision = new MockContentRevision(filePath, new VcsRevisionNumber.Int(2)); return new Change(beforeRevision, afterRevision); }