public void testScopeRemovedDependency() throws Exception {
makeCrossReference(resource2, resource1);
save(resourceSet);
breakCrossReferences(resource2, resource1);
save(resourceSet);
<BUG>StorageTraversal traversal = resolver.resolveLocalModel(iFile1, monitor);
assertEquals(1, traversal.getStorages().size());
assertTrue(traversal.getStorages().contains(iFile1));
traversal = resolver.resolveLocalModel(iFile2, monitor);
assertEquals(1, traversal.getStorages().size());
assertTrue(traversal.getStorages().contains(iFile2));</BUG>
}

public void testScopeRemovedDependency() throws Exception {
makeCrossReference(resource2, resource1);
save(resourceSet);
breakCrossReferences(resource2, resource1);
save(resourceSet);
StorageTraversal traversal = resolver.resolveLocalModel(iFile1, monitor);
assertContainsExclusively(traversal, iFile1);
traversal = resolver.resolveLocalModel(iFile2, monitor);
assertContainsExclusively(traversal, iFile2);
}
