@Test @SuppressWarnings("unchecked") public void testSetSelecteItem() { Object item = mock(Object.class); tested.setSelectedItem(item); verify(delegate, times(1)).setSelectedItem(eq(item)); }
@Override public Selector<T> setSelectedItem(final T item) { getDelegate().setSelectedItem(item); return this; }
SelectorDelegate implements Selector<T> { @Override public Selector<T> setSelectedItem(final T item) { getDelegate().setSelectedItem(item); return this; } }
SelectorDelegate implements Selector<T> { @Override public Selector<T> setSelectedItem(final T item) { getDelegate().setSelectedItem(item); return this; }  }
SelectorDelegate implements Selector<T> { @Override public Selector<T> setSelectedItem(final T item) { getDelegate().setSelectedItem(item); return this; }  @Override Selector<T> addItem(final T item); @Override Selector<T> setSelectedItem(final T item); @Override T getSelectedItem(); @Override Selector<T> clear(); @Override void onValueChanged(); @Override SelectorView getView(); }
SelectorDelegate implements Selector<T> { @Override public Selector<T> setSelectedItem(final T item) { getDelegate().setSelectedItem(item); return this; }  @Override Selector<T> addItem(final T item); @Override Selector<T> setSelectedItem(final T item); @Override T getSelectedItem(); @Override Selector<T> clear(); @Override void onValueChanged(); @Override SelectorView getView();  }