### Question:
DecisionTableEditorDefinition extends BaseEditorDefinition<DecisionTable, DecisionTableGridData> { @Override public Optional<DecisionTable> getModelClass() { return Optional.of(new DecisionTable()); } DecisionTableEditorDefinition(); @Inject  DecisionTableEditorDefinition(final DefinitionUtils definitionUtils,
                                         final SessionManager sessionManager,
                                         final SessionCommandManager<AbstractCanvasHandler> sessionCommandManager,
                                         final @DMNEditor DefaultCanvasCommandFactory canvasCommandFactory,
                                         final Event<ExpressionEditorChanged> editorSelectedEvent,
                                         final Event<RefreshFormPropertiesEvent> refreshFormPropertiesEvent,
                                         final Event<DomainObjectSelectionEvent> domainObjectSelectionEvent,
                                         final ListSelectorView.Presenter listSelector,
                                         final TranslationService translationService,
                                         final HitPolicyPopoverView.Presenter hitPolicyEditor,
                                         final ManagedInstance<ValueAndDataTypePopoverView.Presenter> headerEditors,
                                         final DecisionTableEditorDefinitionEnricher enricher,
                                         final @DMNEditor ReadOnlyProvider readOnlyProvider); @Override ExpressionType getType(); @Override String getName(); @Override Optional<DecisionTable> getModelClass(); @Override void enrich(final Optional<String> nodeUUID,
                       final HasExpression hasExpression,
                       final Optional<DecisionTable> expression); @Override @SuppressWarnings("unused") Optional<BaseExpressionGrid<? extends Expression, ? extends GridData, ? extends BaseUIModelMapper>> getEditor(final GridCellTuple parent,
                                                                                                                         final Optional<String> nodeUUID,
                                                                                                                         final HasExpression hasExpression,
                                                                                                                         final Optional<HasName> hasName,
                                                                                                                         final boolean isOnlyVisualChangeAllowed,
                                                                                                                         final int nesting);  }### Answer:
@Test public void testModelDefinition() { final Optional<DecisionTable> oModel = definition.getModelClass(); assertThat(oModel).isPresent(); }