@Test public void testSetEmptyValue() { widget.setValue(""); verify(view).clearList(); verify(listItems).destroyAll(); verify(listItems, never()).get(); verify(view, never()).add(any()); }
@Override public void setValue(String value) { setValue(value, false); }
AssigneeEditorWidget implements IsWidget,
                                             AssigneeEditorWidgetView.Presenter { @Override public void setValue(String value) { setValue(value, false); } }
AssigneeEditorWidget implements IsWidget,
                                             AssigneeEditorWidgetView.Presenter { @Override public void setValue(String value) { setValue(value, false); } @Inject  AssigneeEditorWidget(AssigneeEditorWidgetView view,
                                ManagedInstance<AssigneeListItem> listItems,
                                TranslationService translationService,
                                Event<NotificationEvent> notification); }
AssigneeEditorWidget implements IsWidget,
                                             AssigneeEditorWidgetView.Presenter { @Override public void setValue(String value) { setValue(value, false); } @Inject  AssigneeEditorWidget(AssigneeEditorWidgetView view,
                                ManagedInstance<AssigneeListItem> listItems,
                                TranslationService translationService,
                                Event<NotificationEvent> notification); void init(AssigneeType type, int max); @Override String getValue(); @Override void setValue(String value); @Override void setValue(String newValue, boolean fireEvents); @Override Widget asWidget(); @Override void doSave(); void deserializeAssignees(String serializedValue); String serializeAssignees(List<Assignee> assigneeRows); @Override void addAssignee(); @Override boolean isDuplicateName(String name); void removeAssignee(AssigneeListItem listItem); @Override void fireEvent(GwtEvent<?> gwtEvent); @Override HandlerRegistration addValueChangeHandler(final ValueChangeHandler<String> handler); @Override String getNameHeader(); @Override String getAddLabel(); @PreDestroy void destroy(); void setReadOnly(boolean readOnly); }
AssigneeEditorWidget implements IsWidget,
                                             AssigneeEditorWidgetView.Presenter { @Override public void setValue(String value) { setValue(value, false); } @Inject  AssigneeEditorWidget(AssigneeEditorWidgetView view,
                                ManagedInstance<AssigneeListItem> listItems,
                                TranslationService translationService,
                                Event<NotificationEvent> notification); void init(AssigneeType type, int max); @Override String getValue(); @Override void setValue(String value); @Override void setValue(String newValue, boolean fireEvents); @Override Widget asWidget(); @Override void doSave(); void deserializeAssignees(String serializedValue); String serializeAssignees(List<Assignee> assigneeRows); @Override void addAssignee(); @Override boolean isDuplicateName(String name); void removeAssignee(AssigneeListItem listItem); @Override void fireEvent(GwtEvent<?> gwtEvent); @Override HandlerRegistration addValueChangeHandler(final ValueChangeHandler<String> handler); @Override String getNameHeader(); @Override String getAddLabel(); @PreDestroy void destroy(); void setReadOnly(boolean readOnly);  }