### Question:
AttributeType extends CommonSchemaElements implements Comparable<AttributeType> { public boolean isSingleValue() { return isSingleValue; } AttributeType(String definition, String primaryName,
                       Collection<String> typeNames,
                       String oid, String description,
                       AttributeType superiorType,
                       Syntax syntax,
                       AttributeUsage attributeUsage,
                       boolean isCollective,
                       boolean isNoUserModification,
                       boolean isObsolete, boolean isSingleValue);  AttributeType(String definition, String primaryName,
                       Collection<String> typeNames,
                       String oid, String description,
                       AttributeType superiorType,
                       Syntax syntax,
                       MatchingRule approximateMatchingRule,
                       MatchingRule equalityMatchingRule,
                       MatchingRule orderingMatchingRule,
                       MatchingRule substringMatchingRule,
                       AttributeUsage attributeUsage,
                       boolean isCollective,
                       boolean isNoUserModification,
                       boolean isObsolete, boolean isSingleValue,
                       Map<String,List<String>> extraProperties); AttributeType getSuperiorType(); Syntax getSyntax(); MatchingRule getApproximateMatchingRule(); MatchingRule getEqualityMatchingRule(); MatchingRule getOrderingMatchingRule(); MatchingRule getSubstringMatchingRule(); AttributeUsage getUsage(); boolean isOperational(); boolean isCollective(); boolean isNoUserModification(); boolean isSingleValue(); boolean isObjectClass(); @Override String toString(); @Override int compareTo(AttributeType o); AttributeType setDirty(); boolean isDirty();  }### Answer:
@Test public void testIsSingleValue() throws Exception { AttributeTypeBuilder builder = new AttributeTypeBuilder( "testType", "1.2.3"); AttributeType type = builder.getInstance(); Assert.assertFalse(type.isSingleValue()); builder = new AttributeTypeBuilder("testType", "1.2.3"); builder.setSingleValue(true); type = builder.getInstance(); Assert.assertTrue(type.isSingleValue()); }