@Test public void convertProcessWithCaseProperties() { final ProcessPropertyWriter propertyWriter = converter.convertProcess(); verify(propertyWriter).setCaseIdPrefix(caseIdPrefix); verify(propertyWriter).setCaseRoles(caseRoles); verify(propertyWriter).setCaseFileVariables(caseFileVariables); }
public ProcessPropertyWriter convertProcess() { ProcessPropertyWriter processRoot = convertProcessNode(context.firstNode()); delegate.convertChildNodes(processRoot, context); delegate.convertEdges(processRoot, context); delegate.postConvertChildNodes(processRoot, context); return processRoot; }
RootProcessConverter { public ProcessPropertyWriter convertProcess() { ProcessPropertyWriter processRoot = convertProcessNode(context.firstNode()); delegate.convertChildNodes(processRoot, context); delegate.convertEdges(processRoot, context); delegate.postConvertChildNodes(processRoot, context); return processRoot; } }
RootProcessConverter { public ProcessPropertyWriter convertProcess() { ProcessPropertyWriter processRoot = convertProcessNode(context.firstNode()); delegate.convertChildNodes(processRoot, context); delegate.convertEdges(processRoot, context); delegate.postConvertChildNodes(processRoot, context); return processRoot; } RootProcessConverter(DefinitionsBuildingContext context,
                                PropertyWriterFactory propertyWriterFactory,
                                ConverterFactory converterFactory); }
RootProcessConverter { public ProcessPropertyWriter convertProcess() { ProcessPropertyWriter processRoot = convertProcessNode(context.firstNode()); delegate.convertChildNodes(processRoot, context); delegate.convertEdges(processRoot, context); delegate.postConvertChildNodes(processRoot, context); return processRoot; } RootProcessConverter(DefinitionsBuildingContext context,
                                PropertyWriterFactory propertyWriterFactory,
                                ConverterFactory converterFactory); ProcessPropertyWriter convertProcess(); }
RootProcessConverter { public ProcessPropertyWriter convertProcess() { ProcessPropertyWriter processRoot = convertProcessNode(context.firstNode()); delegate.convertChildNodes(processRoot, context); delegate.convertEdges(processRoot, context); delegate.postConvertChildNodes(processRoot, context); return processRoot; } RootProcessConverter(DefinitionsBuildingContext context,
                                PropertyWriterFactory propertyWriterFactory,
                                ConverterFactory converterFactory); ProcessPropertyWriter convertProcess();  }