addModelFile(testProject, "invalidXMI.ecore");
IModelResolver resolver = EMFCompareIDEUIPlugin.getDefault().getModelResolverRegistry()
.getBestResolverFor(left);
SynchronizationModel synchronizationModel = resolver.resolveLocalModels(left, right, null,
new NullProgressMonitor());
<BUG>assertEquals(2, synchronizationModel.getLeftTraversal().getStorages().size());
assertTrue(synchronizationModel.getLeftTraversal().getStorages().contains(left));
assertTrue(synchronizationModel.getLeftTraversal().getStorages().contains(m2));
assertEquals(1, synchronizationModel.getRightTraversal().getStorages().size());
assertTrue(synchronizationModel.getRightTraversal().getStorages().contains(right));
Diagnostic diagnostic = synchronizationModel.getDiagnostic();</BUG>
assertEquals(Diagnostic.OK, synchronizationModel.getDiagnostic().getSeverity());

addModelFile(testProject, "invalidXMI.ecore");
IModelResolver resolver = EMFCompareIDEUIPlugin.getDefault().getModelResolverRegistry()
.getBestResolverFor(left);
SynchronizationModel synchronizationModel = resolver.resolveLocalModels(left, right, null,
new NullProgressMonitor());
Set<? extends IStorage> leftStorages = synchronizationModel.getLeftTraversal().getStorages();
assertEquals(2, leftStorages.size());
assertTrue(leftStorages.contains(left));
assertTrue(leftStorages.contains(m2));
Set<? extends IStorage> rightStorages = synchronizationModel.getRightTraversal().getStorages();
assertEquals(1, rightStorages.size());
assertTrue(rightStorages.contains(right));
Diagnostic diagnostic = synchronizationModel.getDiagnostic();
assertEquals(Diagnostic.OK, synchronizationModel.getDiagnostic().getSeverity());
