"{ base \"dc=example, dc=com\", maximum 2 }" };
// Relative to the root DN.
DN rootDN = DN.nullDN();
SubtreeSpecificationSet expected = new SubtreeSpecificationSet();
for (String value : values) {
expected.add(RFC3672SubtreeSpecification.valueOf(rootDN, value));
}
Entry entry = createTestEntry(type, values);
SubtreeSpecificationSet result = new SubtreeSpecificationSet();
entry.getAttributeValues(type, RFC3672SubtreeSpecificationSyntax
.createAttributeValueDecoder(rootDN), result);
assertEquals(expected, result);
}