@Test public void testGetSelecteItem() { Object item = mock(Object.class); when(delegate.getSelectedItem()).thenReturn(item); assertEquals(item, tested.getSelectedItem()); }
@Override public T getSelectedItem() { return getDelegate().getSelectedItem(); }
SelectorDelegate implements Selector<T> { @Override public T getSelectedItem() { return getDelegate().getSelectedItem(); } }
SelectorDelegate implements Selector<T> { @Override public T getSelectedItem() { return getDelegate().getSelectedItem(); }  }
SelectorDelegate implements Selector<T> { @Override public T getSelectedItem() { return getDelegate().getSelectedItem(); }  @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 T getSelectedItem() { return getDelegate().getSelectedItem(); }  @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();  }