NoxItemCatalog extends Observable { void pause() { imageLoader.pause(); } NoxItemCatalog(List<NoxItem> noxItems, int noxItemSize, ImageLoader imageLoader); void recreate();  }
@Test public void shouldPauseImageLoadingWhenNoxItemCatalogIsPaused() { NoxItemCatalog noxItemCatalog = givenOneNoxItemCatalog(); noxItemCatalog.pause(); verify(imageLoader).pause(); }