### Question:
BPMNFormGenerationModelProvider implements FormGenerationModelProvider<Definitions> { @Override public boolean accepts(final Diagram diagram) { return this.definitionSetId.equals(diagram.getMetadata().getDefinitionSetId()); } protected  BPMNFormGenerationModelProvider(); @Inject  BPMNFormGenerationModelProvider(final DefinitionUtils definitionUtils,
                                           final BPMNFormGenerationModelProviderHelper formGenerationModelProviderHelper); @PostConstruct void init(); @Override boolean accepts(final Diagram diagram); @Override Definitions generate(final Diagram diagram);  }### Answer:
@Test public void testAccepts() { assertTrue(tested.accepts(diagram)); }