### Question:
SearchResultsSetImpl implements SearchResultsSet { @Nonnull @Override public List<SearchAggregation> getAppliedAggregations() { return searchAggregations .stream() .filter(searchAggregation -> searchAggregation.getAppliedFilterValue().isPresent()) .collect(Collectors.toList()); }  @Nonnull @Override SearchOptions getSearchOptions(); @Nonnull @Override Integer getTotalResults(); @Nonnull @Override List<ProductListItem> getProductListItems(); @Nonnull @Override List<SearchAggregation> getSearchAggregations(); @Nonnull @Override Pager getPager(); @Nonnull @Override SorterImpl getSorter(); @Nonnull @Override Map<String, String> getAppliedQueryParameters(); void setTotalResults(final Integer totalResults); void setSearchOptions(final SearchOptions searchOptions); void setProductListItems(final List<ProductListItem> productListItems); void setSearchAggregations(final List<SearchAggregation> searchAggregations); @Nonnull @Override List<SearchAggregation> getAvailableAggregations(); @Nonnull @Override List<SearchAggregation> getAppliedAggregations(); @Override boolean hasAggregations(); @Override boolean hasPagination(); @Override boolean hasSorting();  }### Answer:
@Test public void testGetAppliedAggregations() { final List<SearchAggregation> appliedAggregations = modelUnderTest.getAppliedAggregations(); Assert.assertEquals("identifies applied aggregations", 1, modelUnderTest.getAppliedAggregations().size()); }