### Question:
MonacoEditorView implements UberElement<MonacoEditorPresenter> { @EventHandler("monacoLanguageSelector") void onLanguageChanged(@ForEvent("change") final Event event) { presenter.onLanguageChanged(languageSelector.getValue()); }  @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 testOnLanguageChanged() { when(languageSelector.getValue()).thenReturn("lang"); tested.onLanguageChanged(mock(Event.class)); verify(presenter, times(1)).onLanguageChanged(eq("lang")); }