IFile m3 = addModelFile(testProject, "model3.ecore");
addModelFile(testProject, "dangling_ref.ecore");
IModelResolver resolver = EMFCompareIDEUIPlugin.getDefault().getModelResolverRegistry()
.getBestResolverFor(m1);
SynchronizationModel synchronizationModel = resolver.resolveLocalModels(m1, m3, null,
<BUG>new NullProgressMonitor());
assertEquals(2, synchronizationModel.getLeftTraversal().getStorages().size());
assertTrue(synchronizationModel.getLeftTraversal().getStorages().contains(m1));
assertTrue(synchronizationModel.getLeftTraversal().getStorages().contains(m2));
assertEquals(1, synchronizationModel.getRightTraversal().getStorages().size());
assertTrue(synchronizationModel.getRightTraversal().getStorages().contains(m3));</BUG>
Diagnostic diagnostic = synchronizationModel.getDiagnostic();

IFile m3 = addModelFile(testProject, "model3.ecore");
addModelFile(testProject, "dangling_ref.ecore");
IModelResolver resolver = EMFCompareIDEUIPlugin.getDefault().getModelResolverRegistry()
.getBestResolverFor(m1);
SynchronizationModel synchronizationModel = resolver.resolveLocalModels(m1, m3, null,
new NullProgressMonitor());
assertContainsExclusively(synchronizationModel.getLeftTraversal(), m1, m2);
assertContainsExclusively(synchronizationModel.getRightTraversal(), m3);
Diagnostic diagnostic = synchronizationModel.getDiagnostic();
