### Question:
MultipleSelectorInput implements IsWidget,
                                                    MultipleSelectorInputView.Presenter<TYPE> { @Override public void setValue(List<TYPE> values) { setValue(values, false); } @Inject  MultipleSelectorInput(MultipleSelectorInputView view,
                                 LiveSearchDropDown<TYPE> selector); void init(LiveSearchService<TYPE> searchService,
                     MultipleLiveSearchSelectionHandler<TYPE> searchSelectionHandler); @Override void setValue(List<TYPE> values); @Override void setValue(List<TYPE> values,
                         boolean fireEvents); @Override List<TYPE> getValue(); @Override Widget asWidget(); @Override HandlerRegistration addValueChangeHandler(ValueChangeHandler<List<TYPE>> handler); @Override void fireEvent(GwtEvent<?> event); @Override IsWidget getSelector(); void setMaxItems(Integer maxItems); void setEnabled(boolean enabled); void setFilterEnabled(Boolean allowFilter); void setClearSelectionEnabled(Boolean allowClearSelection);  }### Answer:
@Test public void testSetSameComponentValues() { List<String> values = new ArrayList<>(); input.setValue(values); verify(searchSelectionHandler, never()).clearSelection(); verify(dropDown, never()).setSelectedItem(anyString()); }
@Test public void testSetComponentValues() { List<String> values = Arrays.asList("a", "b", "c"); input.setValue(values); verify(dropDown, times(1)).clearSelection(); verify(dropDown, times(3)).setSelectedItem(anyString()); }