@Test public void loadDiagramType() { tested.loadDiagramType(metadata); final ProjectType projectType = tested.getProjectType(metadata); assertThat(projectType).isEqualTo(ProjectType.CASE); }
@Override public void loadDiagramType(Metadata metadata) { bpmnDiagramService .call((r) -> setProjectType(metadata, (ProjectType) r)) .getProjectType(metadata.getRoot()); }
DiagramTypeClientProjectService implements DiagramTypeClientService { @Override public void loadDiagramType(Metadata metadata) { bpmnDiagramService .call((r) -> setProjectType(metadata, (ProjectType) r)) .getProjectType(metadata.getRoot()); } }
DiagramTypeClientProjectService implements DiagramTypeClientService { @Override public void loadDiagramType(Metadata metadata) { bpmnDiagramService .call((r) -> setProjectType(metadata, (ProjectType) r)) .getProjectType(metadata.getRoot()); } DiagramTypeClientProjectService(); @Inject  DiagramTypeClientProjectService(Caller<BPMNDiagramService> bpmnDiagramService); }
DiagramTypeClientProjectService implements DiagramTypeClientService { @Override public void loadDiagramType(Metadata metadata) { bpmnDiagramService .call((r) -> setProjectType(metadata, (ProjectType) r)) .getProjectType(metadata.getRoot()); } DiagramTypeClientProjectService(); @Inject  DiagramTypeClientProjectService(Caller<BPMNDiagramService> bpmnDiagramService); @Override void loadDiagramType(Metadata metadata); @Override ProjectType getProjectType(final Metadata metadata); }
DiagramTypeClientProjectService implements DiagramTypeClientService { @Override public void loadDiagramType(Metadata metadata) { bpmnDiagramService .call((r) -> setProjectType(metadata, (ProjectType) r)) .getProjectType(metadata.getRoot()); } DiagramTypeClientProjectService(); @Inject  DiagramTypeClientProjectService(Caller<BPMNDiagramService> bpmnDiagramService); @Override void loadDiagramType(Metadata metadata); @Override ProjectType getProjectType(final Metadata metadata);  }