### Question:
CaseManagementRootProcessConverter extends BaseRootProcessConverter<CaseManagementDiagram, DiagramSet, ProcessData, AdvancedData> { @Override protected DiagramSet createDiagramSet(Process process, ProcessPropertyReader p, DefinitionsPropertyReader d) { return new DiagramSet(new Name(revertIllegalCharsAttribute(process.getName())), new Documentation(p.getDocumentation()), new Id(revertIllegalCharsAttribute(process.getId())), new Package(p.getPackage()), new ProcessType(p.getProcessType()), new Version(p.getVersion()), new AdHoc(p.isAdHoc()), new ProcessInstanceDescription(p.getDescription()), new Imports(new ImportsValue(p.getDefaultImports(), d.getWSDLImports())), new Executable(process.isIsExecutable()), new SLADueDate(p.getSlaDueDate())); } CaseManagementRootProcessConverter(TypedFactoryManager typedFactoryManager,
                                              PropertyReaderFactory propertyReaderFactory,
                                              DefinitionResolver definitionResolver,
                                              BaseConverterFactory factory);   }### Answer:
@Test public void testCreateDiagramSet() { assertTrue(DiagramSet.class.isInstance(tested.createDiagramSet(process, new ProcessPropertyReader(process, definitionResolver.getDiagram(), definitionResolver.getShape(process.getId()), definitionResolver.getResolutionFactor()), new DefinitionsPropertyReader(definitionResolver.getDefinitions(), definitionResolver.getDiagram(), definitionResolver.getShape(process.getId()), definitionResolver.getResolutionFactor())))); }