use of com.archimatetool.editor.ui.factory.relationships.AccessRelationshipUIProvider in project archi by archimatetool.
the class ObjectUIFactoryProviderTests method testGetProvider_EObject_DiagramModelArchimateConnection.
@Test
public void testGetProvider_EObject_DiagramModelArchimateConnection() {
IObjectUIProvider provider = new AccessRelationshipUIProvider();
factory.registerProvider(provider);
IDiagramModelArchimateConnection eObject = IArchimateFactory.eINSTANCE.createDiagramModelArchimateConnection();
IArchimateRelationship relation = IArchimateFactory.eINSTANCE.createAccessRelationship();
eObject.setArchimateRelationship(relation);
assertEquals(provider, factory.getProvider(eObject));
}
Aggregations