### Question:
ComplexSchemaType extends SchemaType { public int getAttributeCount() { return attributeCount; } ComplexSchemaType();  ComplexSchemaType(ComplexSchemaType template); int getAttributeCount(); void setAttributeCount(int attributeCount); @Override SchemaElement cloneSchemaElement(); @Override SchemaType cloneSchemaType(); @Override String toString(); @Override boolean equals(Object objectToCompare);  }### Answer:
@Test public void testNullObject() { ComplexSchemaType nullObject = new ComplexSchemaType(); assertTrue(nullObject.getType() == null); assertTrue(nullObject.getGUID() == null); assertTrue(nullObject.getURL() == null); assertTrue(nullObject.getClassifications() == null); assertTrue(nullObject.getQualifiedName() == null); assertTrue(nullObject.getAdditionalProperties() == null); assertTrue(nullObject.getVersionNumber() == null); assertTrue(nullObject.getAuthor() == null); assertTrue(nullObject.getUsage() == null); assertTrue(nullObject.getEncodingStandard() == null); assertTrue(nullObject.getAttributeCount() == 0); nullObject = new ComplexSchemaType(null); assertTrue(nullObject.getType() == null); assertTrue(nullObject.getGUID() == null); assertTrue(nullObject.getURL() == null); assertTrue(nullObject.getClassifications() == null); assertTrue(nullObject.getQualifiedName() == null); assertTrue(nullObject.getAdditionalProperties() == null); assertTrue(nullObject.getVersionNumber() == null); assertTrue(nullObject.getAuthor() == null); assertTrue(nullObject.getUsage() == null); assertTrue(nullObject.getEncodingStandard() == null); assertTrue(nullObject.getAttributeCount() == 0); nullObject = new ComplexSchemaType(null); assertTrue(nullObject.getType() == null); assertTrue(nullObject.getGUID() == null); assertTrue(nullObject.getURL() == null); assertTrue(nullObject.getClassifications() == null); assertTrue(nullObject.getQualifiedName() == null); assertTrue(nullObject.getAdditionalProperties() == null); assertTrue(nullObject.getVersionNumber() == null); assertTrue(nullObject.getAuthor() == null); assertTrue(nullObject.getUsage() == null); assertTrue(nullObject.getEncodingStandard() == null); assertTrue(nullObject.getAttributeCount() == 0); }