.addConfiguredRepository(leftRepoFile);
}
private GitModelCacheFile createCacheFile(ObjectId repoId,
ObjectId cacheId, IPath location) throws Exception {
Change change = mock(Change.class);
when(change.getObjectId()).thenReturn(
AbbreviatedObjectId.fromObjectId(cacheId));
when(change.getRemoteObjectId()).thenReturn(
AbbreviatedObjectId.fromObjectId(repoId));
return new GitModelCacheFile(createModelCommit(),
lookupRepository(leftRepoFile), change, location);
}