@Test public void build() { tested.build("uuid", "def", projectMetadata); verify(workItemDefinitionService).execute(projectMetadata); }
@Override public Graph<DefinitionSet, Node> build(String uuid, String definition, Metadata metadata) { workItemDefinitionService.execute(metadata); return super.build(uuid, definition); }
CaseGraphFactoryImpl extends BPMNGraphFactoryImpl { @Override public Graph<DefinitionSet, Node> build(String uuid, String definition, Metadata metadata) { workItemDefinitionService.execute(metadata); return super.build(uuid, definition); } }
CaseGraphFactoryImpl extends BPMNGraphFactoryImpl { @Override public Graph<DefinitionSet, Node> build(String uuid, String definition, Metadata metadata) { workItemDefinitionService.execute(metadata); return super.build(uuid, definition); } CaseGraphFactoryImpl(); @Inject  CaseGraphFactoryImpl(DefinitionManager definitionManager, FactoryManager factoryManager,
                                RuleManager ruleManager, GraphCommandManager graphCommandManager,
                                GraphCommandFactory graphCommandFactory, GraphIndexBuilder<?> indexBuilder,
                                CustomTaskFactory customTaskFactory,
                                WorkItemDefinitionLookupService workItemDefinitionService); }
CaseGraphFactoryImpl extends BPMNGraphFactoryImpl { @Override public Graph<DefinitionSet, Node> build(String uuid, String definition, Metadata metadata) { workItemDefinitionService.execute(metadata); return super.build(uuid, definition); } CaseGraphFactoryImpl(); @Inject  CaseGraphFactoryImpl(DefinitionManager definitionManager, FactoryManager factoryManager,
                                RuleManager ruleManager, GraphCommandManager graphCommandManager,
                                GraphCommandFactory graphCommandFactory, GraphIndexBuilder<?> indexBuilder,
                                CustomTaskFactory customTaskFactory,
                                WorkItemDefinitionLookupService workItemDefinitionService); @Override Graph<DefinitionSet, Node> build(String uuid, String definition, Metadata metadata); }
CaseGraphFactoryImpl extends BPMNGraphFactoryImpl { @Override public Graph<DefinitionSet, Node> build(String uuid, String definition, Metadata metadata) { workItemDefinitionService.execute(metadata); return super.build(uuid, definition); } CaseGraphFactoryImpl(); @Inject  CaseGraphFactoryImpl(DefinitionManager definitionManager, FactoryManager factoryManager,
                                RuleManager ruleManager, GraphCommandManager graphCommandManager,
                                GraphCommandFactory graphCommandFactory, GraphIndexBuilder<?> indexBuilder,
                                CustomTaskFactory customTaskFactory,
                                WorkItemDefinitionLookupService workItemDefinitionService); @Override Graph<DefinitionSet, Node> build(String uuid, String definition, Metadata metadata);  }