ItemViewer { public void createUi( U parent ) { itemUiList.createUi( parent ); } ItemViewer( ItemViewerCompound<T, U> itemViewerCompound ); void createUi( U parent ); U getUiRoot(); void initialize(); void fetchNew(); void update();  }
@Test public void createUi() { Object parent = new Object(); itemViewer.createUi( parent ); verify( itemUiList ).createUi( parent ); }