@Test public void testSetValue() { ListBoxValues listBoxValues = new ListBoxValues(null, null, null); view.setComboBoxValues(listBoxValues); String value = "test"; view.setValue(value); verify(view, times(1)).setValue(value, false); verify(view, times(1)).initView(); }
@Override public void setValue(final String value) { setValue(value, false); }
ComboBoxWidgetViewImpl extends Composite implements ComboBoxWidgetView,
                                                                 ComboBoxView.ModelPresenter,
                                                                 HasValue<String> { @Override public void setValue(final String value) { setValue(value, false); } }
ComboBoxWidgetViewImpl extends Composite implements ComboBoxWidgetView,
                                                                 ComboBoxView.ModelPresenter,
                                                                 HasValue<String> { @Override public void setValue(final String value) { setValue(value, false); }  }
ComboBoxWidgetViewImpl extends Composite implements ComboBoxWidgetView,
                                                                 ComboBoxView.ModelPresenter,
                                                                 HasValue<String> { @Override public void setValue(final String value) { setValue(value, false); }  @PostConstruct void init(); @Override String getValue(); @Override void setValue(final String value); @Override void setValue(final String newValue,
                         final boolean fireEvents); @Override void setComboBoxValues(final ListBoxValues valueListBoxValues); @Override HandlerRegistration addValueChangeHandler(ValueChangeHandler<String> handler); @Override void setReadOnly(boolean readOnly); @Override void setTextBoxModelValue(final TextBox textBox,
                                     final String value); @Override void setListBoxModelValue(final ValueListBox<String> listBox,
                                     final String value); @Override String getModelValue(final ValueListBox<String> listBox); @Override void notifyModelChanged(); String getCurrentValue(); }
ComboBoxWidgetViewImpl extends Composite implements ComboBoxWidgetView,
                                                                 ComboBoxView.ModelPresenter,
                                                                 HasValue<String> { @Override public void setValue(final String value) { setValue(value, false); }  @PostConstruct void init(); @Override String getValue(); @Override void setValue(final String value); @Override void setValue(final String newValue,
                         final boolean fireEvents); @Override void setComboBoxValues(final ListBoxValues valueListBoxValues); @Override HandlerRegistration addValueChangeHandler(ValueChangeHandler<String> handler); @Override void setReadOnly(boolean readOnly); @Override void setTextBoxModelValue(final TextBox textBox,
                                     final String value); @Override void setListBoxModelValue(final ValueListBox<String> listBox,
                                     final String value); @Override String getModelValue(final ValueListBox<String> listBox); @Override void notifyModelChanged(); String getCurrentValue();  }