### Question:
CountResponse extends FFDCResponseBase { public long getCount() { return count; } CountResponse();  CountResponse(CountResponse template); long getCount(); void setCount(long count); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }### Answer:
@Test public void testNullObject() { CountResponse nullObject = new CountResponse(); 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.getCount() == 0); nullObject = new CountResponse(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.getCount() == 0); }