new CommitParentTreeFilter(PathFilterUtils.andSuffix(".java")),
javaBugCommits);
CommitFinder finder = new CommitFinder(testRepo);
finder.setFilter(new AllCommitFilter(bugFilters, javaBugFilters));
finder.find();
assertEquals(2, javaBugCommits.getCommits().size());
assertTrue(javaBugCommits.getCommits().contains(commit4));
assertTrue(javaBugCommits.getCommits().contains(commit5));
assertEquals(4, bugCommits.getCommits().size());
assertTrue(bugCommits.getCommits().contains(commit2));