### Question:
GitRepository implements GitInterface { @Override public Set<RevInfo> getJiraSet(String packagePath, List<Integer> lineNumbers) throws SourceControlException { return blameResolver.blame(packagePath, lineNumbers); } GitRepository(String repositoryPath, SourceControlFilter... filters);  GitRepository(String repositoryPath, boolean useCliDiff, SourceControlFilter... filters); @Override ChangeScope<Change> getChanges(String fromRev, String toRev); ChangeScopeResolver getChangeScopeResolver(ObjectId fromCommit, ObjectId toCommit); @Override Set<RevInfo> getJiraSet(String packagePath, List<Integer> lineNumbers); static Repository buildRepository(String repositoryPath);  }### Answer:
@Test public void testGetJiraSet() throws SourceControlException { List<Integer> list = Arrays.asList(1, 2, 8, 9, 10, 100, 9999999); String filepath = "engine/src/main/java/com/sandboni/core/engine/Application.java"; Set<RevInfo> jiraSet = gitRepository.getJiraSet(filepath, list); assertNotNull(jiraSet); assertFalse(jiraSet.isEmpty()); assertEquals(6, jiraSet.size()); }
@Test public void testGetJiraSetForNonExistingFile() throws SourceControlException { List<Integer> list = Arrays.asList(1, 2, 8, 9); String filepath = "ApplicationAaaa.java"; Set<RevInfo> jiraSet = gitRepository.getJiraSet(filepath, list); assertNotNull(jiraSet); assertTrue(jiraSet.isEmpty()); }