public void mostImpacting() throws Exception {
RevCommit commit1 = add("test.txt", "line1");
CommitLineImpactFilter filter = new CommitLineImpactFilter(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().last().getAdd());
filter.reset();
assertTrue(filter.getCommits().isEmpty());