@Test public void assertDiagamType() { factory.init(); verify(bpmnDiagramFactory, times(1)).setDiagramType(eq(CaseManagementDiagram.class)); }
@PostConstruct public void init() { this.bpmnDiagramFactory.setDiagramType(CaseManagementDiagram.class); }
CaseManagementProjectDiagramFactory extends BindableDiagramFactory<ProjectMetadata, ProjectDiagram> { @PostConstruct public void init() { this.bpmnDiagramFactory.setDiagramType(CaseManagementDiagram.class); } }
CaseManagementProjectDiagramFactory extends BindableDiagramFactory<ProjectMetadata, ProjectDiagram> { @PostConstruct public void init() { this.bpmnDiagramFactory.setDiagramType(CaseManagementDiagram.class); } protected  CaseManagementProjectDiagramFactory(); @Inject  CaseManagementProjectDiagramFactory(final BPMNProjectDiagramFactory bpmnDiagramFactory); }
CaseManagementProjectDiagramFactory extends BindableDiagramFactory<ProjectMetadata, ProjectDiagram> { @PostConstruct public void init() { this.bpmnDiagramFactory.setDiagramType(CaseManagementDiagram.class); } protected  CaseManagementProjectDiagramFactory(); @Inject  CaseManagementProjectDiagramFactory(final BPMNProjectDiagramFactory bpmnDiagramFactory); @PostConstruct void init(); @Override Class<? extends Metadata> getMetadataType(); @Override ProjectDiagram build(final String name,
                                final ProjectMetadata metadata,
                                final Graph<DefinitionSet, ?> graph); }
CaseManagementProjectDiagramFactory extends BindableDiagramFactory<ProjectMetadata, ProjectDiagram> { @PostConstruct public void init() { this.bpmnDiagramFactory.setDiagramType(CaseManagementDiagram.class); } protected  CaseManagementProjectDiagramFactory(); @Inject  CaseManagementProjectDiagramFactory(final BPMNProjectDiagramFactory bpmnDiagramFactory); @PostConstruct void init(); @Override Class<? extends Metadata> getMetadataType(); @Override ProjectDiagram build(final String name,
                                final ProjectMetadata metadata,
                                final Graph<DefinitionSet, ?> graph);  }