@Test public void testValueChangedCallback() { tested.onValueChanged(); verify(changeCallback, times(1)).onChange(); }
void onValueChanged() { onChangeCallback.onChange(); }
MonacoEditorPresenter { void onValueChanged() { onChangeCallback.onChange(); } }
MonacoEditorPresenter { void onValueChanged() { onChangeCallback.onChange(); } @Inject  MonacoEditorPresenter(MonacoEditorView view); }
MonacoEditorPresenter { void onValueChanged() { onChangeCallback.onChange(); } @Inject  MonacoEditorPresenter(MonacoEditorView view); @PostConstruct void init(); MonacoEditorPresenter setOnChangeCallback(OnChangeCallback onChangeCallback); MonacoEditorPresenter setWidthPx(int widthPx); MonacoEditorPresenter setHeightPx(int heightPx); MonacoEditorPresenter setReadOnly(boolean readOnly); MonacoEditorPresenter addLanguage(MonacoEditorLanguage module); void setValue(String languageId, String value); String getValue(); String getLanguageId(); MonacoEditorView getView(); @PreDestroy void destroy(); }
MonacoEditorPresenter { void onValueChanged() { onChangeCallback.onChange(); } @Inject  MonacoEditorPresenter(MonacoEditorView view); @PostConstruct void init(); MonacoEditorPresenter setOnChangeCallback(OnChangeCallback onChangeCallback); MonacoEditorPresenter setWidthPx(int widthPx); MonacoEditorPresenter setHeightPx(int heightPx); MonacoEditorPresenter setReadOnly(boolean readOnly); MonacoEditorPresenter addLanguage(MonacoEditorLanguage module); void setValue(String languageId, String value); String getValue(); String getLanguageId(); MonacoEditorView getView(); @PreDestroy void destroy();  }