@Test
public void testLimitWithDefaults() {

	Map<String, Integer> resultMap = FacetParameterUtils.getSolrFacetParams("limit", facets, parameters, true);
	assertNotNull(resultMap);
	assertEquals(SolrFacetType.values().length + 1, resultMap.size());
	assertTrue(resultMap.containsKey("f.proxy_dc_contributor.facet.limit"));
	assertTrue(resultMap.containsKey("f.DATA_PROVIDER.facet.limit"));
	assertEquals(new Integer(30), resultMap.get("f.proxy_dc_contributor.facet.limit"));
	assertEquals(new Integer(50), resultMap.get("f.DATA_PROVIDER.facet.limit"));
}