}
@Test(enabled = ENABLED)
public void findEntriesWithCategoriesFilter() throws Exception {
MongoDBChangeSet c1 = createChangeSet(COVERAGE, 1, 1, 1);
MongoDBChangeSetEntry e1 = new MongoDBChangeSetEntry("c1-1.txt", FILE_ADDED);
MongoDBChangeSetEntry e2 = new MongoDBChangeSetEntry("c1-2.txt", FILE_ADDED);
c1.add(e1).add(e2);
dao.save(c1);
MongoDBChangeSet c2 = createChangeSet(DRIFT, 2, 1, 1);
MongoDBChangeSetEntry e3 = new MongoDBChangeSetEntry("c2-1.txt", FILE_ADDED);
MongoDBChangeSetEntry e4 = new MongoDBChangeSetEntry("c1-1.txt", FILE_CHANGED);
MongoDBChangeSetEntry e5 = new MongoDBChangeSetEntry("c1-2.txt", FILE_REMOVED);
c2.add(e3).add(e4).add(e5);
dao.save(c2);
GenericDriftCriteria criteria = new GenericDriftCriteria();
criteria.addFilterCategories(FILE_CHANGED, FILE_REMOVED);