### Question:
MonacoEditorView implements UberElement<MonacoEditorPresenter> { public void dispose() { if (null != editor) { editor.dispose(); clear(monacoEditor); editor = null; } }  @Override void init(final MonacoEditorPresenter presenter); String getValue(); String getLanguage(); void load(String[] modules,
                     MonacoEditorOptions options,
                     Runnable callback); void dispose(); @PreDestroy void destroy(); @Override HTMLElement getElement();  }### Answer:
@Test public void testDispose() { tested.dispose(); verify(editor, times(1)).dispose(); verify(monacoEditor, times(1)).getChildNodes(); assertNull(tested.editor); }