Search in sources :

Example 6 with InclusiveGateway

use of org.eclipse.bpmn2.InclusiveGateway in project kie-wb-common by kiegroup.

the class GatewayPropertyWriterTest method testSetSourceForInclusiveGateway.

@Test
public void testSetSourceForInclusiveGateway() {
    InclusiveGateway inclusiveGateway = mockGateway(InclusiveGateway.class, ID);
    prepareTestSetSourceOrTarget(inclusiveGateway);
    propertyWriter.setSource(anotherPropertyWriter);
    verify(inclusiveGateway).setDefault(sequenceFlow);
}
Also used : InclusiveGateway(org.eclipse.bpmn2.InclusiveGateway) Test(org.junit.Test)

Aggregations

InclusiveGateway (org.eclipse.bpmn2.InclusiveGateway)5 ExclusiveGateway (org.eclipse.bpmn2.ExclusiveGateway)3 SequenceFlow (org.eclipse.bpmn2.SequenceFlow)3 SimpleFeatureMapEntry (org.eclipse.emf.ecore.impl.EStructuralFeatureImpl.SimpleFeatureMapEntry)2 Test (org.junit.Test)2 ArrayList (java.util.ArrayList)1 Entry (java.util.Map.Entry)1 FlowElement (org.eclipse.bpmn2.FlowElement)1 FlowElementsContainer (org.eclipse.bpmn2.FlowElementsContainer)1 FormalExpression (org.eclipse.bpmn2.FormalExpression)1 Gateway (org.eclipse.bpmn2.Gateway)1 Point (org.eclipse.dd.dc.Point)1 EAttributeImpl (org.eclipse.emf.ecore.impl.EAttributeImpl)1 ExtendedMetaData (org.eclipse.emf.ecore.util.ExtendedMetaData)1 FeatureMap (org.eclipse.emf.ecore.util.FeatureMap)1