@Test public void initialization() { InOrder order = inOrder( header, itemViewer ); order.verify( header ).createUi(); order.verify( itemViewer ).createUi( null ); order.verify( itemViewer ).initialize(); order.verify( header ).onFetchNew( any( ActionListener.class ) ); }
private JPanel initialize() { header.createUi(); itemViewer.createUi( null ); JPanel result = createComponent(); itemViewer.initialize(); header.onFetchNew( event -> itemViewer.fetchNew() ); return result; }
SwingTimeline { private JPanel initialize() { header.createUi(); itemViewer.createUi( null ); JPanel result = createComponent(); itemViewer.initialize(); header.onFetchNew( event -> itemViewer.fetchNew() ); return result; } }
SwingTimeline { private JPanel initialize() { header.createUi(); itemViewer.createUi( null ); JPanel result = createComponent(); itemViewer.initialize(); header.onFetchNew( event -> itemViewer.fetchNew() ); return result; } SwingTimeline(
    ItemProvider<T> itemProvider, ItemUiFactory<T, Container> itemUiFactory, SessionStorage<T> sessionStorage );   SwingTimeline( SwingTimelineCompound<T> compound ); }
SwingTimeline { private JPanel initialize() { header.createUi(); itemViewer.createUi( null ); JPanel result = createComponent(); itemViewer.initialize(); header.onFetchNew( event -> itemViewer.fetchNew() ); return result; } SwingTimeline(
    ItemProvider<T> itemProvider, ItemUiFactory<T, Container> itemUiFactory, SessionStorage<T> sessionStorage );   SwingTimeline( SwingTimelineCompound<T> compound ); Component getComponent(); void startAutoRefresh(); void stopAutoRefresh(); void setTitle( String title ); }
SwingTimeline { private JPanel initialize() { header.createUi(); itemViewer.createUi( null ); JPanel result = createComponent(); itemViewer.initialize(); header.onFetchNew( event -> itemViewer.fetchNew() ); return result; } SwingTimeline(
    ItemProvider<T> itemProvider, ItemUiFactory<T, Container> itemUiFactory, SessionStorage<T> sessionStorage );   SwingTimeline( SwingTimelineCompound<T> compound ); Component getComponent(); void startAutoRefresh(); void stopAutoRefresh(); void setTitle( String title );  }