@Test public void TestToString() { MockAPIResponse testObject = new MockAPIResponse(); assertTrue(testObject.toString().contains("MockAPIResponse")); assertTrue(new MockAPIResponse(testObject).toString().contains("MockAPIResponse")); }
@Override public String toString() { return "FFDCResponseBase{" + "relatedHTTPCode=" + relatedHTTPCode + ", exceptionClassName='" + exceptionClassName + '\'' + ", actionDescription='" + actionDescription + '\'' + ", exceptionErrorMessage='" + exceptionErrorMessage + '\'' + ", exceptionErrorMessageId='" + exceptionErrorMessageId + '\'' + ", exceptionErrorMessageParameters=" + Arrays.toString(exceptionErrorMessageParameters) + ", exceptionSystemAction='" + exceptionSystemAction + '\'' + ", exceptionUserAction='" + exceptionUserAction + '\'' + ", exceptionProperties=" + exceptionProperties + '}'; }
FFDCResponseBase implements java.io.Serializable, FFDCResponse { @Override public String toString() { return "FFDCResponseBase{" + "relatedHTTPCode=" + relatedHTTPCode + ", exceptionClassName='" + exceptionClassName + '\'' + ", actionDescription='" + actionDescription + '\'' + ", exceptionErrorMessage='" + exceptionErrorMessage + '\'' + ", exceptionErrorMessageId='" + exceptionErrorMessageId + '\'' + ", exceptionErrorMessageParameters=" + Arrays.toString(exceptionErrorMessageParameters) + ", exceptionSystemAction='" + exceptionSystemAction + '\'' + ", exceptionUserAction='" + exceptionUserAction + '\'' + ", exceptionProperties=" + exceptionProperties + '}'; } }
FFDCResponseBase implements java.io.Serializable, FFDCResponse { @Override public String toString() { return "FFDCResponseBase{" + "relatedHTTPCode=" + relatedHTTPCode + ", exceptionClassName='" + exceptionClassName + '\'' + ", actionDescription='" + actionDescription + '\'' + ", exceptionErrorMessage='" + exceptionErrorMessage + '\'' + ", exceptionErrorMessageId='" + exceptionErrorMessageId + '\'' + ", exceptionErrorMessageParameters=" + Arrays.toString(exceptionErrorMessageParameters) + ", exceptionSystemAction='" + exceptionSystemAction + '\'' + ", exceptionUserAction='" + exceptionUserAction + '\'' + ", exceptionProperties=" + exceptionProperties + '}'; } FFDCResponseBase();  FFDCResponseBase(FFDCResponseBase  template); }
FFDCResponseBase implements java.io.Serializable, FFDCResponse { @Override public String toString() { return "FFDCResponseBase{" + "relatedHTTPCode=" + relatedHTTPCode + ", exceptionClassName='" + exceptionClassName + '\'' + ", actionDescription='" + actionDescription + '\'' + ", exceptionErrorMessage='" + exceptionErrorMessage + '\'' + ", exceptionErrorMessageId='" + exceptionErrorMessageId + '\'' + ", exceptionErrorMessageParameters=" + Arrays.toString(exceptionErrorMessageParameters) + ", exceptionSystemAction='" + exceptionSystemAction + '\'' + ", exceptionUserAction='" + exceptionUserAction + '\'' + ", exceptionProperties=" + exceptionProperties + '}'; } FFDCResponseBase();  FFDCResponseBase(FFDCResponseBase  template); @Override String getExceptionClassName(); @Override void setExceptionClassName(String exceptionClassName); @Override String getExceptionCausedBy(); @Override void setExceptionCausedBy(String exceptionCausedBy); @Override String getActionDescription(); @Override void setActionDescription(String actionDescription); @Override int getRelatedHTTPCode(); @Override void setRelatedHTTPCode(int relatedHTTPCode); @Override String getExceptionErrorMessage(); @Override void setExceptionErrorMessage(String exceptionErrorMessage); @Override String getExceptionErrorMessageId(); @Override void setExceptionErrorMessageId(String exceptionErrorMessageId); @Override String[] getExceptionErrorMessageParameters(); @Override void setExceptionErrorMessageParameters(String[] exceptionErrorMessageParameters); @Override String getExceptionSystemAction(); @Override void setExceptionSystemAction(String exceptionSystemAction); @Override String getExceptionUserAction(); @Override void setExceptionUserAction(String exceptionUserAction); @Override Map<String, Object> getExceptionProperties(); @Override void setExceptionProperties(Map<String, Object> exceptionProperties); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode(); }
FFDCResponseBase implements java.io.Serializable, FFDCResponse { @Override public String toString() { return "FFDCResponseBase{" + "relatedHTTPCode=" + relatedHTTPCode + ", exceptionClassName='" + exceptionClassName + '\'' + ", actionDescription='" + actionDescription + '\'' + ", exceptionErrorMessage='" + exceptionErrorMessage + '\'' + ", exceptionErrorMessageId='" + exceptionErrorMessageId + '\'' + ", exceptionErrorMessageParameters=" + Arrays.toString(exceptionErrorMessageParameters) + ", exceptionSystemAction='" + exceptionSystemAction + '\'' + ", exceptionUserAction='" + exceptionUserAction + '\'' + ", exceptionProperties=" + exceptionProperties + '}'; } FFDCResponseBase();  FFDCResponseBase(FFDCResponseBase  template); @Override String getExceptionClassName(); @Override void setExceptionClassName(String exceptionClassName); @Override String getExceptionCausedBy(); @Override void setExceptionCausedBy(String exceptionCausedBy); @Override String getActionDescription(); @Override void setActionDescription(String actionDescription); @Override int getRelatedHTTPCode(); @Override void setRelatedHTTPCode(int relatedHTTPCode); @Override String getExceptionErrorMessage(); @Override void setExceptionErrorMessage(String exceptionErrorMessage); @Override String getExceptionErrorMessageId(); @Override void setExceptionErrorMessageId(String exceptionErrorMessageId); @Override String[] getExceptionErrorMessageParameters(); @Override void setExceptionErrorMessageParameters(String[] exceptionErrorMessageParameters); @Override String getExceptionSystemAction(); @Override void setExceptionSystemAction(String exceptionSystemAction); @Override String getExceptionUserAction(); @Override void setExceptionUserAction(String exceptionUserAction); @Override Map<String, Object> getExceptionProperties(); @Override void setExceptionProperties(Map<String, Object> exceptionProperties); @Override String toString(); @Override boolean equals(Object objectToCompare); @Override int hashCode();  }