}
@Test
public void testConstructSolrQueryWithFacetPrefix() {
FacetQuery query = new SimpleFacetQuery(new Criteria("field_1").is("value_1"));
FacetOptions facetOptions = new FacetOptions(new SimpleField("facet_1"), new SimpleField("facet_2"));
facetOptions.setFacetPrefix("prefix");
query.setFacetOptions(facetOptions);
SolrQuery solrQuery = queryParser.constructSolrQuery(query);
Assert.assertNotNull(solrQuery);
assertQueryStringPresent(solrQuery);
assertPaginationNotPresent(solrQuery);
assertProjectionNotPresent(solrQuery);
assertGroupingNotPresent(solrQuery);
assertFactingPresent(solrQuery, "facet_1", "facet_2");
Assert.assertEquals(facetOptions.getFacetPrefix(), solrQuery.getParams("facet.prefix")[0]);
}