use of org.kie.workbench.common.stunner.bpmn.backend.converters.fromstunner.properties.PropertyWriter in project kie-wb-common by kiegroup.
the class IntermediateCatchEventConverterTest method errorEvent.
@Test
public void errorEvent() {
Node node = createIntermediateErrorEventCatchingNode();
PropertyWriter propertyWriter = tested.errorEvent(node);
assertNotNull(propertyWriter);
verify(boundaryEventPropertyWriter).setCancelActivity(CANCEL_ACTIVITY);
verify(boundaryEventPropertyWriter).addSlaDueDate(slaDueDate);
verify(boundaryEventPropertyWriter).addError(errorRef);
verifyCommonProperties(node);
}
use of org.kie.workbench.common.stunner.bpmn.backend.converters.fromstunner.properties.PropertyWriter in project kie-wb-common by kiegroup.
the class IntermediateCatchEventConverterTest method messageEvent.
@Test
public void messageEvent() {
Node node = createIntermediateMessageEventCatchingNode();
PropertyWriter propertyWriter = tested.messageEvent(node);
assertNotNull(propertyWriter);
verify(boundaryEventPropertyWriter).setCancelActivity(CANCEL_ACTIVITY);
verify(boundaryEventPropertyWriter).addSlaDueDate(slaDueDate);
verify(boundaryEventPropertyWriter).addMessage(messageRef);
verifyCommonProperties(node);
}
use of org.kie.workbench.common.stunner.bpmn.backend.converters.fromstunner.properties.PropertyWriter in project kie-wb-common by kiegroup.
the class IntermediateCatchEventConverterTest method linkEvent.
@Test
public void linkEvent() {
Node node = createIntermediateLinkEventCatchingNode();
PropertyWriter propertyWriter = tested.linkEvent(node);
assertNotNull(propertyWriter);
verify(boundaryEventPropertyWriter).addLink(linkRef);
verifyCommonProperties(node);
}
use of org.kie.workbench.common.stunner.bpmn.backend.converters.fromstunner.properties.PropertyWriter in project kie-wb-common by kiegroup.
the class IntermediateCatchEventConverterTest method conditionalEvent.
@Test
public void conditionalEvent() {
Node node = createIntermediateConditionalEventCatchingNode();
PropertyWriter propertyWriter = tested.conditionalEvent(node);
assertNotNull(propertyWriter);
verify(boundaryEventPropertyWriter).setCancelActivity(CANCEL_ACTIVITY);
verify(boundaryEventPropertyWriter).addSlaDueDate(slaDueDate);
verify(boundaryEventPropertyWriter).addCondition(conditionExpression);
verifyCommonProperties(node);
}
use of org.kie.workbench.common.stunner.bpmn.backend.converters.fromstunner.properties.PropertyWriter in project kie-wb-common by kiegroup.
the class IntermediateThrowEventConverterTest method signalEvent.
@Test
public void signalEvent() {
Node node = createIntermediateSignalEventThrowingNode();
PropertyWriter propertyWriter = tested.signalEvent(node);
assertNotNull(propertyWriter);
verifyCommonProperties(node);
verify(throwEventPropertyWriter).addSignal(signalRef);
verify(throwEventPropertyWriter).addSignalScope(signalScope);
}
Aggregations