### Question:
ObjectClass extends CommonSchemaElements { public ObjectClassType getObjectClassType() { return objectClassType; } ObjectClass(String definition, String primaryName,
                     Collection<String> names, String oid,
                     String description,
                     Set<ObjectClass> superiorClasses,
                     Set<AttributeType> requiredAttributes,
                     Set<AttributeType> optionalAttributes,
                     ObjectClassType objectClassType,
                     boolean isObsolete,
                     Map<String, List<String>> extraProperties); Set<ObjectClass> getSuperiorClasses(); boolean isDescendantOf(ObjectClass objectClass); Set<AttributeType> getRequiredAttributes(); Set<AttributeType> getRequiredAttributeChain(); boolean isRequired(AttributeType attributeType); Set<AttributeType> getOptionalAttributes(); Set<AttributeType> getOptionalAttributeChain(); boolean isOptional(AttributeType attributeType); boolean isRequiredOrOptional(AttributeType attributeType); ObjectClassType getObjectClassType(); boolean isExtensibleObject(); @Override String toString(); ObjectClass setDirty(); boolean isDirty();  }### Answer:
@Test(dataProvider = "getObjectClassTypeTestData") public void testGetObjectClassType(ObjectClassType type, ObjectClassType result) throws Exception { ObjectClassBuilder builder = new ObjectClassBuilder("testType", "1.2.3"); builder.setObjectClassType(type); ObjectClass c = builder.getInstance(); Assert.assertEquals(c.getObjectClassType(), result); }