### Question:
MatchedValuesControl extends Control { public boolean valueMatches(AttributeType type, ByteString value) { for (MatchedValuesFilter f : filters) { try { if (f.valueMatches(type, value)) { return true; } } catch (Exception e) { logger.traceException(e); } } return false; } MatchedValuesControl(boolean isCritical,
                              ArrayList<MatchedValuesFilter> filters); @Override void writeValue(ASN1Writer writer); ArrayList<MatchedValuesFilter> getFilters(); boolean valueMatches(AttributeType type, ByteString value); @Override void toString(StringBuilder buffer); static final ControlDecoder<MatchedValuesControl> DECODER; }### Answer:
@Test(dataProvider = "differentNormalization") public void testDifferentNormalization(String type, ByteString value, String assertion) { AttributeType attrType = DirectoryServer.getAttributeTypeOrNull("usercertificate"); MatchedValuesFilter mvf = MatchedValuesFilter.createEqualityFilter(type, ByteString.valueOfUtf8(assertion)); assertTrue(mvf.valueMatches(attrType, value)); }