SofaResponse implements Serializable { @Override public String toString() { StringBuilder sb = new StringBuilder(128); sb.append("SofaResponse["); sb.append("sofa-rpc exception=").append(isError).append(", "); sb.append("sofa-rpc errorMsg=").append(errorMsg).append(", "); sb.append("appResponse=").append(appResponse).append("]"); return sb.toString(); }  Object getAppResponse(); void setAppResponse(Object response); boolean isError(); String getErrorMsg(); void setErrorMsg(String error); Object getResponseProp(String key); void addResponseProp(String key, String value); void removeResponseProp(String key); Map<String, String> getResponseProps(); void setResponseProps(Map<String, String> responseProps); byte getSerializeType(); SofaResponse setSerializeType(byte serializeType); AbstractByteBuf getData(); SofaResponse setData(AbstractByteBuf data); @Override String toString();  }
@Test public void testToString() { SofaResponse response = new SofaResponse(); Assert.assertNotNull(response.toString()); }