### Question:
MonacoEditorDOMElement extends BaseDOMElement<String, MonacoEditorWidget> implements TakesValue<String>,
                                                                                                  Focusable { MonacoStandaloneCodeEditor.CallbackFunction getWidgetTrigger(final NativeEvent nativeEvent) { return (e) -> fireNativeEvent(nativeEvent, widget); } MonacoEditorDOMElement(final MonacoEditorWidget widget,
                                  final GridLayer gridLayer,
                                  final GridWidget gridWidget,
                                  final SessionManager sessionManager,
                                  final SessionCommandManager<AbstractCanvasHandler> sessionCommandManager,
                                  final Function<GridCellTuple, Command> hasNoValueCommand,
                                  final Function<GridCellValueTuple, Command> hasValueCommand); void setupElements(); @Override void initialise(final GridBodyCellRenderContext context); @Override void setValue(final String value); @Override String getValue(); @Override int getTabIndex(); @Override void setAccessKey(final char key); @Override void setFocus(final boolean focused); @Override void setTabIndex(final int index); @Override @SuppressWarnings("unchecked") void flush(final String value);  }### Answer:
@Test public void testGetWidgetTrigger() { final NativeEvent triggeredBlur = mock(NativeEvent.class); final NativeEvent monacoBlur = mock(NativeEvent.class); domElement.getWidgetTrigger(triggeredBlur).call(monacoBlur); verify(domElement).fireNativeEvent(triggeredBlur, widget); }