@Test public void toStringNotNull() { assertThat(request.toString(), notNullValue()); }
@Override public String toString() { return MoreObjects.toStringHelper(this) .add("timestamp", getTimestamp()) .add("bus", getBusId()) .add("id", getId()) .add("mode", getMode()) .add("pid", getPid()) .add("payload", Arrays.toString(getPayload())) .add(MULTIPLE_RESPONSES_KEY, getMultipleResponses()) .add(FREQUENCY_KEY, getFrequency()) .add("name", getName()) .add("extras", getExtras()) .toString(); }
DiagnosticRequest extends DiagnosticMessage { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("timestamp", getTimestamp()) .add("bus", getBusId()) .add("id", getId()) .add("mode", getMode()) .add("pid", getPid()) .add("payload", Arrays.toString(getPayload())) .add(MULTIPLE_RESPONSES_KEY, getMultipleResponses()) .add(FREQUENCY_KEY, getFrequency()) .add("name", getName()) .add("extras", getExtras()) .toString(); } }
DiagnosticRequest extends DiagnosticMessage { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("timestamp", getTimestamp()) .add("bus", getBusId()) .add("id", getId()) .add("mode", getMode()) .add("pid", getPid()) .add("payload", Arrays.toString(getPayload())) .add(MULTIPLE_RESPONSES_KEY, getMultipleResponses()) .add(FREQUENCY_KEY, getFrequency()) .add("name", getName()) .add("extras", getExtras()) .toString(); } DiagnosticRequest(int busId, int id, int mode);  DiagnosticRequest(int busId, int id, int mode, int pid); protected  DiagnosticRequest(Parcel in); protected  DiagnosticRequest(); }
DiagnosticRequest extends DiagnosticMessage { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("timestamp", getTimestamp()) .add("bus", getBusId()) .add("id", getId()) .add("mode", getMode()) .add("pid", getPid()) .add("payload", Arrays.toString(getPayload())) .add(MULTIPLE_RESPONSES_KEY, getMultipleResponses()) .add(FREQUENCY_KEY, getFrequency()) .add("name", getName()) .add("extras", getExtras()) .toString(); } DiagnosticRequest(int busId, int id, int mode);  DiagnosticRequest(int busId, int id, int mode, int pid); protected  DiagnosticRequest(Parcel in); protected  DiagnosticRequest(); void setMultipleResponses(boolean multipleResponses); boolean hasFrequency(); void setFrequency(Double frequency); void setName(String name); boolean getMultipleResponses(); Double getFrequency(); boolean hasName(); String getName(); static boolean containsRequiredFields(Set<String> fields); @Override boolean equals(Object obj); @Override String toString(); @Override void writeToParcel(Parcel out, int flags); }
DiagnosticRequest extends DiagnosticMessage { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("timestamp", getTimestamp()) .add("bus", getBusId()) .add("id", getId()) .add("mode", getMode()) .add("pid", getPid()) .add("payload", Arrays.toString(getPayload())) .add(MULTIPLE_RESPONSES_KEY, getMultipleResponses()) .add(FREQUENCY_KEY, getFrequency()) .add("name", getName()) .add("extras", getExtras()) .toString(); } DiagnosticRequest(int busId, int id, int mode);  DiagnosticRequest(int busId, int id, int mode, int pid); protected  DiagnosticRequest(Parcel in); protected  DiagnosticRequest(); void setMultipleResponses(boolean multipleResponses); boolean hasFrequency(); void setFrequency(Double frequency); void setName(String name); boolean getMultipleResponses(); Double getFrequency(); boolean hasName(); String getName(); static boolean containsRequiredFields(Set<String> fields); @Override boolean equals(Object obj); @Override String toString(); @Override void writeToParcel(Parcel out, int flags); static final String ADD_ACTION_KEY; static final String CANCEL_ACTION_KEY; }