assertNull(last.getLast());
CommitLimitFilter limit = new CommitLimitFilter(2);
AndCommitFilter filter = new AndCommitFilter(limit, last);
CommitFinder finder = new CommitFinder(testRepo);
finder.setFilter(filter);
finder.find();
assertEquals(commit2, last.getLast());
finder.find();
assertEquals(commit2, last.getLast());
last.reset();
assertNull(last.getLast());