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