### Question:
ProductListImpl extends ProductCollectionImpl implements ProductList { @Override public String getImage() { if (getCategory() != null) { if (StringUtils.isEmpty(getCategory().getImage())) { return StringUtils.EMPTY; } return getCategory().getImage(); } else { return StringUtils.EMPTY; } }  @Nullable @Override String getTitle(); @Override boolean showTitle(); @Override String getImage(); @Override boolean showImage(); @Nonnull @Override Collection<ProductListItem> getProducts(); @Nonnull @Override SearchResultsSet getSearchResultsSet(); @Override AbstractCategoryRetriever getCategoryRetriever();  }### Answer:
@Test public void getImage() { productListModel = context.request().adaptTo(ProductListImpl.class); Assert.assertEquals(category.getImage(), productListModel.getImage()); }