private void validateModel(BpmnModel model) {
FlowElement flowElement = model.getMainProcess().getFlowElement("start");
assertTrue(flowElement instanceof StartEvent);
StartEvent startEvent = (StartEvent) flowElement;
assertEquals("start", startEvent.getId());
assertEquals("startName", startEvent.getName());
assertEquals("startFormKey", startEvent.getFormKey());
assertEquals("startInitiator", startEvent.getInitiator());
assertEquals("startDoc", startEvent.getDocumentation());
List<FormProperty> formProperties = startEvent.getFormProperties();
assertEquals(2, formProperties.size());
FormProperty formProperty = formProperties.get(0);
assertEquals("startFormProp1", formProperty.getId());
assertEquals("startFormProp1", formProperty.getName());