use of org.camunda.bpm.model.bpmn.instance.DataStoreReference in project camunda-bpmn-model by camunda.
the class DataStoreTest method testGetDataStoreReference.
@Test
public void testGetDataStoreReference() {
DataStoreReference dataStoreReference = modelInstance.getModelElementById("myDataStoreReference");
DataStore dataStore = modelInstance.getModelElementById("myDataStore");
assertThat(dataStoreReference).isNotNull();
assertThat(dataStoreReference.getName()).isEqualTo("My Data Store Reference");
assertThat(dataStoreReference.getDataStore()).isEqualTo(dataStore);
}
Aggregations