### Question:
SelectorImpl implements Selector<T> { @Override public Selector<T> clear() { view.clear(); return this; } @Inject  SelectorImpl(final SelectorView view); @PostConstruct void init(); SelectorImpl<T> setTextProvider(final Function<T, String> textProvider); SelectorImpl<T> setValueProvider(final Function<T, String> valueProvider); SelectorImpl<T> setItemProvider(final Function<String, T> itemProvider); SelectorImpl<T> setValueChangedCommand(final Command valueChangedCommand); @Override Selector<T> addItem(final T item); @Override Selector<T> setSelectedItem(final T item); @Override T getSelectedItem(); @Override Selector<T> clear(); @Override void onValueChanged(); @PreDestroy void destroy(); @Override SelectorView getView();  }### Answer:
@Test public void testClear() { tested.clear(); verify(view, times(1)).clear(); }