### Question:
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();  }### Answer:
@Test public void convertProcessWithCaseProperties() { final ProcessPropertyWriter propertyWriter = converter.convertProcess(); verify(propertyWriter).setCaseIdPrefix(caseIdPrefix); verify(propertyWriter).setCaseRoles(caseRoles); verify(propertyWriter).setCaseFileVariables(caseFileVariables); }
@Test public void convertProcessWithExecutable() { final ProcessPropertyWriter propertyWriter = converter.convertProcess(); verify(propertyWriter).setExecutable(anyBoolean()); }
@Test public void convertProcessWithGlobalVariables() { final ProcessPropertyWriter propertyWriter = converter.convertProcess(); verify(propertyWriter).setGlobalVariables(any(GlobalVariables.class)); }
@Test public void convertProcessWithImports() { final ProcessPropertyWriter propertyWriter = converter.convertProcess(); verify(propertyWriter).setDefaultImports(anyListOf(DefaultImport.class)); }
@Test public void convertProcessWithSlaDueDate() { final ProcessPropertyWriter propertyWriter = converter.convertProcess(); verify(propertyWriter).setSlaDueDate(any(SLADueDate.class)); }