@Test public void setDiagramType() { tested.setDiagramType(BPMNDiagramImpl.class); verify(bpmnGraphFactory).setDiagramType(BPMNDiagramImpl.class); verify(caseGraphFactory).setDiagramType(BPMNDiagramImpl.class); }
@Override public void setDiagramType(Class<? extends BPMNDiagram> diagramType) { bpmnGraphFactory.setDiagramType(diagramType); caseGraphFactory.setDiagramType(diagramType); }
BPMNDelegateGraphFactory implements BPMNGraphFactory { @Override public void setDiagramType(Class<? extends BPMNDiagram> diagramType) { bpmnGraphFactory.setDiagramType(diagramType); caseGraphFactory.setDiagramType(diagramType); } }
BPMNDelegateGraphFactory implements BPMNGraphFactory { @Override public void setDiagramType(Class<? extends BPMNDiagram> diagramType) { bpmnGraphFactory.setDiagramType(diagramType); caseGraphFactory.setDiagramType(diagramType); } @Inject  BPMNDelegateGraphFactory(final BPMNGraphFactoryImpl bpmnGraphFactory,
                                    final CaseGraphFactoryImpl caseGraphFactory); }
BPMNDelegateGraphFactory implements BPMNGraphFactory { @Override public void setDiagramType(Class<? extends BPMNDiagram> diagramType) { bpmnGraphFactory.setDiagramType(diagramType); caseGraphFactory.setDiagramType(diagramType); } @Inject  BPMNDelegateGraphFactory(final BPMNGraphFactoryImpl bpmnGraphFactory,
                                    final CaseGraphFactoryImpl caseGraphFactory); @Override boolean isDelegateFactory(); @Override void setDiagramType(Class<? extends BPMNDiagram> diagramType); @Override Class<? extends ElementFactory> getFactoryType(); @Override Graph<DefinitionSet, Node> build(String uuid, String definition, Metadata metadata); @Override Graph<DefinitionSet, Node> build(String uuid, String definition); @Override boolean accepts(String source); }
BPMNDelegateGraphFactory implements BPMNGraphFactory { @Override public void setDiagramType(Class<? extends BPMNDiagram> diagramType) { bpmnGraphFactory.setDiagramType(diagramType); caseGraphFactory.setDiagramType(diagramType); } @Inject  BPMNDelegateGraphFactory(final BPMNGraphFactoryImpl bpmnGraphFactory,
                                    final CaseGraphFactoryImpl caseGraphFactory); @Override boolean isDelegateFactory(); @Override void setDiagramType(Class<? extends BPMNDiagram> diagramType); @Override Class<? extends ElementFactory> getFactoryType(); @Override Graph<DefinitionSet, Node> build(String uuid, String definition, Metadata metadata); @Override Graph<DefinitionSet, Node> build(String uuid, String definition); @Override boolean accepts(String source);  }