@Test public void testInit() { tested.init(); verify(view, times(1)).init(eq(tested)); }
@PostConstruct public void init() { view.init(this); }
MonacoEditorPresenter { @PostConstruct public void init() { view.init(this); } }
MonacoEditorPresenter { @PostConstruct public void init() { view.init(this); } @Inject  MonacoEditorPresenter(MonacoEditorView view); }
MonacoEditorPresenter { @PostConstruct public void init() { view.init(this); } @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 { @PostConstruct public void init() { view.init(this); } @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();  }