assertEquals(expected, result);
}
public void testTwoChild() throws Exception
{
MutableMetaDataRepository repository = setupEmpty();
MutableMetaDataLoader loader1 = createTestMutableMetaDataLoader(testKey1);
assertAddMetaDataRetrieval(repository, loader1, null);
MutableMetaDataLoader loader12 = createTestMutableMetaDataLoader(testKey12);
assertAddMetaDataRetrieval(repository, loader12, null);
MutableMetaDataLoader loader12Different = createTestMutableMetaDataLoader(testKey12Different);
assertAddMetaDataRetrieval(repository, loader12Different, null);
Set<ScopeKey> result = repository.getChildren(testKey1);
assertNotNull(result);
Set<ScopeKey> expected = new HashSet<ScopeKey>();
expected.add(testKey12);
expected.add(testKey12Different);