### Question:
CaseDefinitionNewResourceHandler extends AbstractProjectDiagramNewResourceHandler<BPMNDiagramResourceType> { @Override protected Class<?> getDefinitionSetType() { return BPMNDefinitionSet.class; } CaseDefinitionNewResourceHandler(); @Inject  CaseDefinitionNewResourceHandler(final DefinitionManager definitionManager,
                                            final ClientProjectDiagramService projectDiagramService,
                                            final BusyIndicatorView indicatorView,
                                            final BPMNDiagramResourceType projectDiagramResourceType,
                                            final ClientTranslationService translationService,
                                            final CaseHelper caseHelper); @Override String getDescription(); @Override IsWidget getIcon(); @Override void createDiagram(Package pkg, String name, NewResourcePresenter presenter, Path path, String setId,
                              String moduleName, Optional<String> projectType); @Override void acceptContext(Callback<Boolean, Void> callback); List<Profile> getProfiles();  }### Answer:
@Test public void getDefinitionSetType() { final Class<?> definitionSetType = tested.getDefinitionSetType(); assertThat(definitionSetType).isEqualTo(BPMNDefinitionSet.class); }