* @throws Exception
*/
@Test
public void sortMostFirst() throws Exception {
RevCommit commit = add("test.txt", "content");
author = new PersonIdent(author, new Date(
System.currentTimeMillis() + 5000));
add("a", "b.txt");
author = new PersonIdent("abcd", "a@b.d", new Date(
System.currentTimeMillis() + 5000), TimeZone.getDefault());
RevCommit commit2 = add("test.txt", "content2");
CommitFinder finder = new CommitFinder(testRepo);
CommitHistogramFilter filter = new AuthorHistogramFilter();
finder.setFilter(filter).find();