CommitFinder finder = new CommitFinder(testRepo);
finder.setFilter(filter).find();
FileHistogram histogram = filter.getHistogram();
assertNotNull(histogram);
FileCommitActivity[] files = histogram
.getFileActivity(new RevisionCountComparator());
assertNotNull(files);
assertEquals(4, files.length);
assertEquals("file1.txt", files[0].getPath());
assertEquals("file3.txt", files[1].getPath());
assertEquals("file2.txt", files[2].getPath());