### Question:
CaseManagementDiagramFactoryImpl extends AbstractBPMNDiagramFactory<Metadata, Diagram<Graph, Metadata>> implements CaseManagementDiagramFactory { @Override public Class<? extends Metadata> getMetadataType() { return Metadata.class; } CaseManagementDiagramFactoryImpl(); @Override Class<? extends Metadata> getMetadataType(); @Override Diagram<Graph, Metadata> doBuild(final String name, final Metadata metadata, final Graph<DefinitionSet, ?> graph);  }### Answer:
@Test public void assertMetadataType() { assertEquals(Metadata.class, factory.getMetadataType()); }