Change (final String pathBefore, final String pathAfter, final int revision) { final FilePath fullPath = VcsUtil.getFilePath(pathBefore, false); final FilePath fullPath2 = VcsUtil.getFilePath(pathAfter, false); final ContentRevision beforeRevision = new MockContentRevision(fullPath, new VcsRevisionNumber.Int(revision-1)); final ContentRevision afterRevision = new MockContentRevision(fullPath2, new VcsRevisionNumber.Int(revision)); return new Change(beforeRevision, afterRevision); }