NoxItemCatalog extends Observable { boolean isBitmapReady(int position) { return bitmaps[position] != null && bitmaps[position].get() != null; } NoxItemCatalog(List<NoxItem> noxItems, int noxItemSize, ImageLoader imageLoader); void recreate();  }
@Test public void shouldReturnFalseCheckingIfBitmapsAreReadyIfNoxCatalogWasNotLoaded() { NoxItemCatalog noxItemCatalog = givenOneNoxItemCatalog(); assertFalse(noxItemCatalog.isBitmapReady(0)); }