@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;
}