@Test
public void testConvert() {

  // GIVEN
  String field = "myfield";
  // WHEN
  SimpleQuery simpleQuery = underTest.convert(field);
  SolrQuery queryResult = new DefaultQueryParser().doConstructSolrQuery(simpleQuery);
  // THEN
  assertEquals("?q=*%3A*&rows=0&facet=true&facet.mincount=1&facet.limit=-1&facet.field=myfield",
    queryResult.toQueryString());
}