TextAnnotation textA = (TextAnnotation) process.getArtifacts().get(0);
Association association = (Association) process.getArtifacts().get(1);
assertEquals(g, association.getSourceRef());
assertEquals(textA, association.getTargetRef());
assertEquals(AssociationDirection.NONE, association.getAssociationDirection());
definitions.eResource().save(System.out, Collections.emptyMap());
}
@Test
public void testAssociationUnidirectionalUnmarshalling() throws Exception {
Bpmn2JsonUnmarshaller unmarshaller = new Bpmn2JsonUnmarshaller();