add("file.txt", "patch", Constants.SIGNED_OFF_BY_TAG + person.getName()
+ " <" + person.getEmailAddress() + ">");
CommitFinder service = new CommitFinder(testRepo);
CommitCountFilter count = new CommitCountFilter();
service.setFilter(new AndCommitFilter(new SignedOffByFilter(person),
count));
service.find();
assertEquals(1, count.getCount());
service.setFilter(new AndCommitFilter(new SignedOffByFilter(person)
.clone(), count));
service.find();
assertEquals(2, count.getCount());
}