assertTrue(storages[1].getFullPath().toString().contains("model2.ecore"));
} else {
assertTrue(storages[1].equals(m1));
assertTrue(storages[0].getFullPath().toString().contains("model2.ecore"));
}
<BUG>assertEquals(1, synchronizationModel.getRightTraversal().getStorages().size());
assertTrue(synchronizationModel.getRightTraversal().getStorages().contains(m3));
Diagnostic diagnostic = synchronizationModel.getDiagnostic();</BUG>
assertEquals(Diagnostic.ERROR, diagnostic.getSeverity());
assertEquals(1, diagnostic.getData().size());

assertTrue(storages[1].getFullPath().toString().contains("model2.ecore"));
} else {
assertTrue(storages[1].equals(m1));
assertTrue(storages[0].getFullPath().toString().contains("model2.ecore"));
}
final Set<? extends IStorage> rightStorages = synchronizationModel.getRightTraversal().getStorages();
assertEquals(1, rightStorages.size());
assertTrue(rightStorages.contains(m3));
Diagnostic diagnostic = synchronizationModel.getDiagnostic();
assertEquals(Diagnostic.ERROR, diagnostic.getSeverity());
assertEquals(1, diagnostic.getData().size());
