### Question:
DiagramFactoryImpl implements DiagramFactory<Metadata, Diagram<Graph, Metadata>> { @Override public Class<? extends Metadata> getMetadataType() { return Metadata.class; }  @Override Class<? extends Metadata> getMetadataType(); @Override Diagram<Graph, Metadata> build(final String name,
                                          final Metadata metadata,
                                          final Graph<DefinitionSet, ?> graph); @Override boolean accepts(final String source); @Override boolean isDefault();  }### Answer:
@Test public void testType() { assertEquals(Metadata.class, this.tested.getMetadataType()); }