params.add(TermsParams.TERMS_LOWER, "d");
params.add(TermsParams.TERMS_MINCOUNT,String.valueOf(2));
params.add(TermsParams.TERMS_MAXCOUNT,String.valueOf(3));
rsp = new SolrQueryResponse();
rsp.add("responseHeader", new SimpleOrderedMap());
handler.handleRequest(new LocalSolrQueryRequest(core, params), rsp);
values = rsp.getValues();
terms = (NamedList) ((NamedList) values.get("terms")).get("standardfilt");
assertTrue("terms Size: " + terms.size() + " is not: " + 3, terms.size() == 3);
Integer d = (Integer) terms.get("d");
assertTrue(d + " does not equal: " + 3, d == 3);