### Question:
TagResponse extends OCFOMASAPIResponse { public InformalTag getTag() { if (tag == null) { return null; } else { return new InformalTag(tag); } } TagResponse();  TagResponse(TagResponse template); InformalTag getTag(); void setTag(InformalTag tag); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }### Answer:
@Test public void testNullObject() { TagResponse nullObject = new TagResponse(); 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.getTag() == null); nullObject = new TagResponse(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.getTag() == null); }