Search in sources :

Example 1 with DmnModelElementInstance

use of org.camunda.bpm.model.dmn.instance.DmnModelElementInstance in project camunda-dmn-model by camunda.

the class DmnModelTest method assertElementIsEqualToId.

protected void assertElementIsEqualToId(DmnModelElementInstance actualElement, String id) {
    assertThat(actualElement).isNotNull();
    ModelElementInstance expectedElement = modelInstance.getModelElementById(id);
    assertThat(expectedElement).isNotNull();
    assertThat(actualElement).isEqualTo(expectedElement);
}
Also used : DmnModelElementInstance(org.camunda.bpm.model.dmn.instance.DmnModelElementInstance) ModelElementInstance(org.camunda.bpm.model.xml.instance.ModelElementInstance)

Aggregations

DmnModelElementInstance (org.camunda.bpm.model.dmn.instance.DmnModelElementInstance)1 ModelElementInstance (org.camunda.bpm.model.xml.instance.ModelElementInstance)1