public void mostImpacting() throws Exception {
RevCommit commit1 = add("test1.txt", "content2");
CommitFileImpactFilter filter = new CommitFileImpactFilter(1);
assertEquals(1, filter.getLimit());
CommitFinder finder = new CommitFinder(testRepo).setFilter(filter);
finder.find();
assertEquals(1, filter.getCommits().size());
assertEquals(commit1, filter.getCommits().first().getCommit());
assertEquals(1, filter.getCommits().first().getAdd());
filter.reset();
assertTrue(filter.getCommits().isEmpty());