NoxItemCatalog extends Observable { boolean isPlaceholderReady(int position) { return (placeholders[position] != null) || defaultPlaceholder != null; } NoxItemCatalog(List<NoxItem> noxItems, int noxItemSize, ImageLoader imageLoader); void recreate();  }
@Test public void shouldReturnFalseIfNoxCatalogWasNotLoadedAndGeneralPlaceholderWasNotConfigured() { NoxItemCatalog noxItemCatalog = givenOneNoxItemCatalog(); assertFalse(noxItemCatalog.isPlaceholderReady(0)); }