AssetCategoriesSearchFacetDisplayContext implements Serializable { public List<AssetCategoriesSearchFacetTermDisplayContext> getTermDisplayContexts() { return _assetCategoriesSearchFacetTermDisplayContext; } AssetCategoriesSearchFacetDisplayContext(
			HttpServletRequest httpServletRequest); CategoryFacetPortletInstanceConfiguration getCategoryFacetPortletInstanceConfiguration(); long getDisplayStyleGroupId(); String getPaginationStartParameterName(); String getParameterName(); String getParameterValue(); List<String> getParameterValues(); List<AssetCategoriesSearchFacetTermDisplayContext> getTermDisplayContexts(); boolean isCloud(); boolean isNothingSelected(); boolean isRenderNothing(); void setCloud(boolean cloud); void setNothingSelected(boolean nothingSelected); void setPaginationStartParameterName(
		String paginationStartParameterName); void setParameterName(String parameterName); void setParameterValue(String paramValue); void setParameterValues(List<String> parameterValues); void setRenderNothing(boolean renderNothing); void setTermDisplayContexts(
		List<AssetCategoriesSearchFacetTermDisplayContext>
			assetCategoriesSearchFacetTermDisplayContext);  }
@Test public void testExcludedGroup() throws Exception { long assetCategoryId = RandomTestUtil.randomLong(); long groupId = RandomTestUtil.randomLong(); long stagingGroupId = RandomTestUtil.randomLong(); createGroup(groupId, stagingGroupId); setUpAssetCategory(assetCategoryId, stagingGroupId); _excludedGroupId = stagingGroupId; int frequency = RandomTestUtil.randomInt(); setUpOneTermCollector(assetCategoryId, frequency); String facetParam = StringPool.BLANK; AssetCategoriesSearchFacetDisplayContext assetCategoriesSearchFacetDisplayContext = createDisplayContext( facetParam); List<AssetCategoriesSearchFacetTermDisplayContext> assetCategoriesSearchFacetTermDisplayContexts = assetCategoriesSearchFacetDisplayContext. getTermDisplayContexts(); Assert.assertEquals( assetCategoriesSearchFacetTermDisplayContexts.toString(), 0, assetCategoriesSearchFacetTermDisplayContexts.size()); _excludedGroupId = 0; }