@Test
public void testConvertHostNameOnly() {

  // GIVEN
  HostLogFilesRequest request = new HostLogFilesRequest();
  request.setHostName("hostName");
  // WHEN
  SolrQuery query = new DefaultQueryParser().doConstructSolrQuery(underTest.convert(request));
  // THEN
  assertEquals("?q=host%3A%28hostName%29&rows=0&facet=true&facet.mincount=1&facet.limit=-1&facet.pivot=type%2Cpath",
    query.toQueryString());
}