### Question:
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);  }### Answer:
@Test public void loadDiagramType() { tested.loadDiagramType(metadata); final ProjectType projectType = tested.getProjectType(metadata); assertThat(projectType).isEqualTo(ProjectType.CASE); }