### Question:
ProductListImpl extends ProductCollectionImpl implements ProductList { @Nullable @Override public String getTitle() { return getCategory() != null ? getCategory().getName() : 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 getTitle() { productListModel = context.request().adaptTo(ProductListImpl.class); Assert.assertEquals(category.getName(), productListModel.getTitle()); }