### Question:
CaseManagementProjectDiagramFactory extends BindableDiagramFactory<ProjectMetadata, ProjectDiagram> { @Override public Class<? extends Metadata> getMetadataType() { return ProjectMetadata.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);  }### Answer:
@Test public void assertMetadataType() { assertEquals(ProjectMetadata.class, factory.getMetadataType()); }