@Test
public void testGetItemsTotal() {

	mockSynonymSets("car,automobile", "biscuit,cookie");
	SynonymsDisplayBuilder synonymsDisplayBuilder =
		new SynonymsDisplayBuilder(
			_documentToSynonymSetTranslator, _httpServletRequest, _language,
			_portal, _queries, _renderRequest, _renderResponse,
			_searchEngineAdapter, _searchEngineInformation, _sorts,
			_synonymSetIndexNameBuilder);
	SynonymsDisplayContext synonymsDisplayContext =
		synonymsDisplayBuilder.build();
	Assert.assertEquals(2, synonymsDisplayContext.getItemsTotal());
}