### Question:
AutocompleteTextAreaDOMElementFactory extends BaseSingletonDOMElementFactory<String, MonacoEditorWidget, MonacoEditorDOMElement> { @Override protected MonacoEditorDOMElement createDomElementInternal(final MonacoEditorWidget widget, final GridLayer gridLayer, final GridWidget gridWidget) { final MonacoEditorDOMElement domElement = makeMonacoEditorDOMElement(widget, gridLayer, gridWidget); domElement.setupElements(); return domElement; } AutocompleteTextAreaDOMElementFactory(final DMNGridPanel gridPanel,
                                                 final GridLayer gridLayer,
                                                 final GridWidget gridWidget,
                                                 final SessionManager sessionManager,
                                                 final SessionCommandManager<AbstractCanvasHandler> sessionCommandManager,
                                                 final Function<GridCellTuple, Command> hasNoValueCommand,
                                                 final Function<GridCellValueTuple, Command> hasValueCommand); Function<GridCellTuple, Command> getHasNoValueCommand(); Function<GridCellValueTuple, Command> getHasValueCommand(); @Override MonacoEditorWidget createWidget();  }### Answer:
@Test public void testCreateDomElementInternal() { final MonacoEditorWidget widget = mock(MonacoEditorWidget.class); final MonacoEditorDOMElement domElement = getFactoryForAttachDomElementTest().createDomElementInternal(widget, gridLayer, gridWidget); verify(domElement).setupElements(); }