RevCommit commit2 = add(Arrays.asList("file1.txt", "file2.txt"),
Arrays.asList("a1\n", "b\nc\nd\n"));
RevCommit commit3 = add(Arrays.asList("file1.txt", "file2.txt"),
Arrays.asList("a1\n", "b\nc\n"));
CommitListFilter commits = new CommitListFilter();
new CommitFinder(testRepo).setFilter(
new AllCommitFilter(new AndCommitFilter(new DiffLineSizeFilter(
3), commits))).find();
assertFalse(commits.getCommits().contains(commit1));
assertTrue(commits.getCommits().contains(commit2));
assertFalse(commits.getCommits().contains(commit3));