assertEquals(expected, result);
}
public void testNotPartialMatch() throws Exception
{
MutableMetaDataRepository repository = setupEmpty();
MutableMetaDataLoader loader12 = createTestMutableMetaDataLoader(testKey12);
repository.addMetaDataRetrieval(loader12);
MutableMetaDataLoader loader13 = createTestMutableMetaDataLoader(testKey13);
repository.addMetaDataRetrieval(loader13);
MutableMetaDataLoader loader23 = createTestMutableMetaDataLoader(testKey23);
repository.addMetaDataRetrieval(loader23);
FuzzyMetaDataRepositoryVisitor visitor = new FuzzyMetaDataRepositoryVisitor(testKey1x);
Set<ScopeKey> result = repository.matchScopes(visitor);
assertNotNull(result);
assertEquals(0, result.size());
}