### Question:
GlossaryTermResponse extends FFDCResponseBase { public GlossaryTerm getGlossaryTerm() { if (glossaryTerm == null) { return null; } else { return glossaryTerm; } } GlossaryTermResponse();  GlossaryTermResponse(GlossaryTermResponse template); GlossaryTerm getGlossaryTerm(); void setGlossaryTerm(GlossaryTerm glossaryTerm); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }### Answer:
@Test public void testNullObject() { GlossaryTermResponse nullObject = new GlossaryTermResponse(); assertTrue(nullObject.getRelatedHTTPCode() == 200); assertTrue(nullObject.getExceptionClassName() == null); assertTrue(nullObject.getExceptionErrorMessage() == null); assertTrue(nullObject.getExceptionSystemAction() == null); assertTrue(nullObject.getExceptionUserAction() == null); assertTrue(nullObject.getExceptionProperties() == null); assertTrue(nullObject.getGlossaryTerm() == null); nullObject = new GlossaryTermResponse(null); assertTrue(nullObject.getRelatedHTTPCode() == 200); assertTrue(nullObject.getExceptionClassName() == null); assertTrue(nullObject.getExceptionErrorMessage() == null); assertTrue(nullObject.getExceptionSystemAction() == null); assertTrue(nullObject.getExceptionUserAction() == null); assertTrue(nullObject.getExceptionProperties() == null); assertTrue(nullObject.getGlossaryTerm() == null); }