@Test
public void testAddFacetFieldAggregationsWithFacetFields()
{

    Set<String> facetFieldsList = new HashSet<>();
    facetFieldsList.add(TAG_FACET);
    facetFieldsList.add(RESULT_TYPE_FACET);
    SearchRequestBuilder searchRequestBuilder = mock(SearchRequestBuilder.class);
    SearchRequestBuilder result = elasticsearchHelper.addFacetFieldAggregations(facetFieldsList, searchRequestBuilder);
    assertThat("Result is null.", result, is(notNullValue()));
}