@Test public void toStringNotNull() { assertThat(response.toString(), notNullValue()); }
@Override public String toString() { return MoreObjects.toStringHelper(this) .add("timestamp", getTimestamp()) .add("id", getId()) .add("mode", getMode()) .add("pid", getPid()) .add("payload", Arrays.toString(getPayload())) .add(VALUE_KEY, getValue()) .add(NEGATIVE_RESPONSE_CODE_KEY, getNegativeResponseCode()) .add("extras", getExtras()) .toString(); }
DiagnosticResponse extends DiagnosticMessage { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("timestamp", getTimestamp()) .add("id", getId()) .add("mode", getMode()) .add("pid", getPid()) .add("payload", Arrays.toString(getPayload())) .add(VALUE_KEY, getValue()) .add(NEGATIVE_RESPONSE_CODE_KEY, getNegativeResponseCode()) .add("extras", getExtras()) .toString(); } }
DiagnosticResponse extends DiagnosticMessage { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("timestamp", getTimestamp()) .add("id", getId()) .add("mode", getMode()) .add("pid", getPid()) .add("payload", Arrays.toString(getPayload())) .add(VALUE_KEY, getValue()) .add(NEGATIVE_RESPONSE_CODE_KEY, getNegativeResponseCode()) .add("extras", getExtras()) .toString(); } DiagnosticResponse(int busId, int id, int mode);  DiagnosticResponse(int busId, int id, int mode, int pid,
            byte[] payload);  DiagnosticResponse(int busId, int id, int mode, int pid,
            byte[] payload,
            NegativeResponseCode negativeResponseCode,
            double value); protected  DiagnosticResponse(Parcel in); protected  DiagnosticResponse(); }
DiagnosticResponse extends DiagnosticMessage { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("timestamp", getTimestamp()) .add("id", getId()) .add("mode", getMode()) .add("pid", getPid()) .add("payload", Arrays.toString(getPayload())) .add(VALUE_KEY, getValue()) .add(NEGATIVE_RESPONSE_CODE_KEY, getNegativeResponseCode()) .add("extras", getExtras()) .toString(); } DiagnosticResponse(int busId, int id, int mode);  DiagnosticResponse(int busId, int id, int mode, int pid,
            byte[] payload);  DiagnosticResponse(int busId, int id, int mode, int pid,
            byte[] payload,
            NegativeResponseCode negativeResponseCode,
            double value); protected  DiagnosticResponse(Parcel in); protected  DiagnosticResponse(); boolean isSuccessful(); boolean hasValue(); Double getValue(); void setValue(Double value); NegativeResponseCode getNegativeResponseCode(); void setNegativeResponseCode(NegativeResponseCode code); @Override String toString(); static boolean containsRequiredFields(Set<String> fields); @Override boolean equals(Object obj); @Override void writeToParcel(Parcel out, int flags); }
DiagnosticResponse extends DiagnosticMessage { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("timestamp", getTimestamp()) .add("id", getId()) .add("mode", getMode()) .add("pid", getPid()) .add("payload", Arrays.toString(getPayload())) .add(VALUE_KEY, getValue()) .add(NEGATIVE_RESPONSE_CODE_KEY, getNegativeResponseCode()) .add("extras", getExtras()) .toString(); } DiagnosticResponse(int busId, int id, int mode);  DiagnosticResponse(int busId, int id, int mode, int pid,
            byte[] payload);  DiagnosticResponse(int busId, int id, int mode, int pid,
            byte[] payload,
            NegativeResponseCode negativeResponseCode,
            double value); protected  DiagnosticResponse(Parcel in); protected  DiagnosticResponse(); boolean isSuccessful(); boolean hasValue(); Double getValue(); void setValue(Double value); NegativeResponseCode getNegativeResponseCode(); void setNegativeResponseCode(NegativeResponseCode code); @Override String toString(); static boolean containsRequiredFields(Set<String> fields); @Override boolean equals(Object obj); @Override void writeToParcel(Parcel out, int flags);  }