Comparator<BrowseFacet> valComp = new FacetValueComparatorFactory().newComparator();
int v = valComp.compare(new BrowseFacet("red", 3), new BrowseFacet("blue", 2));
assertTrue(v > 0);
valComp = new FacetHitcountComparatorFactory().newComparator();
v = valComp.compare(new BrowseFacet("red", 3), new BrowseFacet("blue", 2));
assertTrue(v < 0);
v = valComp.compare(new BrowseFacet("red", 3), new BrowseFacet("blue", 3));
assertTrue(v > 0);