ItemNavigatorWithAdditionalItems implements ItemNavigator<T> { public ItemNavigator<T> getBaseNavigator() { return baseNavigator; } ItemNavigatorWithAdditionalItems(ItemNavigator<T> baseNavigator, T... transientItems); @Override T navigateTo(int itemPos); @Override T getCurrentItem(); @Override int getNumOfItems(); @Override int getCurrentItemIdx(); @Override void clearCaches(); ItemNavigator<T> getBaseNavigator(); List<T> getAdditionalItems(); int addAdditionalItem(T item);  }
@Test public void testGetBaseNavigator() { assertSame(baseNavigator, navigator.getBaseNavigator()); }