finder.setFilter(filter).find();
CommitHistogram histogram = filter.getHistogram();
assertNotNull(histogram);
UserCommitActivity committerActivity = histogram.getActivity(committer
.getEmailAddress());
assertNotNull(committerActivity);
assertEquals(committer.getName(), committerActivity.getName());
assertEquals(committer.getEmailAddress(), committerActivity.getEmail());
assertEquals(committerActivity, histogram.getUserActivity()[0]);
assertEquals(1, committerActivity.getCount());
assertEquals(commit, committerActivity.getFirst());
assertEquals(commit, committerActivity.getLast());
assertEquals(commit.getAuthorIdent().getWhen().getTime(),
committerActivity.getEarliest());
assertEquals(commit.getAuthorIdent().getWhen().getTime(),
committerActivity.getLatest());
assertEquals(commit.getAuthorIdent().getWhen().getTime(),
committerActivity.getTimes()[0]);
}