### Question:
SolrQueryBuilder { public SolrQuery build() { SolrQuery solrQuery = new SolrQuery(); SolrParametrizedString queryText = new SolrParametrizedString(this.queryText).set(interval); solrQuery.setQuery(queryText.toString()); if (filterQueryText != null) { SolrParametrizedString filterQuery = new SolrParametrizedString(filterQueryText) .set(interval); if (document != null) { filterQuery = filterQuery.set(document.getFieldMap()); solrQuery.setFilterQueries(filterQuery.toString()); } } if (sortFields != null) { for (String field : sortFields) solrQuery.addSort(field, asc); } return solrQuery; } SolrQueryBuilder(); static String computeEnd(String end, Duration ttl); static String computeEnd(String end, OffsetDateTime now, Duration ttl); SolrQueryBuilder setQueryText(String queryText); SolrQueryBuilder setInterval(String startValue, String endValue); SolrQueryBuilder setFilterQueryText(String filterQueryText); SolrQueryBuilder setDocument(Document document); SolrQueryBuilder addSort(String... sortBy); SolrQuery build();  }### Answer:
@Test public void testDefaultQuery() throws Exception { SolrQuery solrQuery = new SolrQueryBuilder() .build(); assertThat(solrQuery.getQuery(), is("*:*")); }