entrySet = facets.entrySet();
matches = new HashSet();
matches.add(new TestMapEntry("b", facet2));
matches.add(new TestMapEntry("d", facet4));
matches.add(new TestMapEntry("f", facet6));
entrySet.retainAll(matches);
assertEquals(2, facets.size());
assertEquals(2, entrySet.size());
checkFacetMissing(component, "a", facet1);
checkFacetPresent(component, "b", facet2);
checkFacetMissing(component, "c", facet3);