@Test public void fetch() { itemUiList.fetch( NEW ); InOrder order = inOrder( itemUiMap, itemUiList ); order.verify( itemUiMap ).fetch( NEW ); order.verify( itemUiList ).update(); }
public void fetch( FetchOperation operation ) { checkArgument( operation != null, OPERATION_MUST_NOT_BE_NULL ); itemUiMap.fetch( operation ); backgroundProcessor.dispatchToUiThread( () -> update() ); }
ItemUiList { public void fetch( FetchOperation operation ) { checkArgument( operation != null, OPERATION_MUST_NOT_BE_NULL ); itemUiMap.fetch( operation ); backgroundProcessor.dispatchToUiThread( () -> update() ); } }
ItemUiList { public void fetch( FetchOperation operation ) { checkArgument( operation != null, OPERATION_MUST_NOT_BE_NULL ); itemUiMap.fetch( operation ); backgroundProcessor.dispatchToUiThread( () -> update() ); } protected  ItemUiList( ItemUiMap<T, U> itemUiMap, BackgroundProcessor backgroundProcessor ); }
ItemUiList { public void fetch( FetchOperation operation ) { checkArgument( operation != null, OPERATION_MUST_NOT_BE_NULL ); itemUiMap.fetch( operation ); backgroundProcessor.dispatchToUiThread( () -> update() ); } protected  ItemUiList( ItemUiMap<T, U> itemUiMap, BackgroundProcessor backgroundProcessor ); boolean isTimelineEmpty(); void fetchInBackground( FetchOperation operation ); void fetch( FetchOperation operation ); void update(); }
ItemUiList { public void fetch( FetchOperation operation ) { checkArgument( operation != null, OPERATION_MUST_NOT_BE_NULL ); itemUiMap.fetch( operation ); backgroundProcessor.dispatchToUiThread( () -> update() ); } protected  ItemUiList( ItemUiMap<T, U> itemUiMap, BackgroundProcessor backgroundProcessor ); boolean isTimelineEmpty(); void fetchInBackground( FetchOperation operation ); void fetch( FetchOperation operation ); void update();  }