@Test public void toStringNotNull() { assertThat(response.toString(), notNullValue()); }
@Override public String toString() { return MoreObjects.toStringHelper(this) .add("timestamp", getTimestamp()) .add("command", getCommand()) .add(STATUS_KEY, getStatus()) .add(MESSAGE_KEY, getMessage()) .add("extras", getExtras()) .toString(); }
CommandResponse extends KeyedMessage { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("timestamp", getTimestamp()) .add("command", getCommand()) .add(STATUS_KEY, getStatus()) .add(MESSAGE_KEY, getMessage()) .add("extras", getExtras()) .toString(); } }
CommandResponse extends KeyedMessage { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("timestamp", getTimestamp()) .add("command", getCommand()) .add(STATUS_KEY, getStatus()) .add(MESSAGE_KEY, getMessage()) .add("extras", getExtras()) .toString(); } CommandResponse(CommandType command, boolean status, String message);  CommandResponse(CommandType command, boolean status); protected  CommandResponse(Parcel in); protected  CommandResponse(); }
CommandResponse extends KeyedMessage { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("timestamp", getTimestamp()) .add("command", getCommand()) .add(STATUS_KEY, getStatus()) .add(MESSAGE_KEY, getMessage()) .add("extras", getExtras()) .toString(); } CommandResponse(CommandType command, boolean status, String message);  CommandResponse(CommandType command, boolean status); protected  CommandResponse(Parcel in); protected  CommandResponse(); boolean hasMessage(); String getMessage(); CommandType getCommand(); boolean getStatus(); @Override boolean equals(Object obj); @Override String toString(); @Override MessageKey getKey(); static boolean containsRequiredFields(Set<String> fields); @Override void writeToParcel(Parcel out, int flags); }
CommandResponse extends KeyedMessage { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("timestamp", getTimestamp()) .add("command", getCommand()) .add(STATUS_KEY, getStatus()) .add(MESSAGE_KEY, getMessage()) .add("extras", getExtras()) .toString(); } CommandResponse(CommandType command, boolean status, String message);  CommandResponse(CommandType command, boolean status); protected  CommandResponse(Parcel in); protected  CommandResponse(); boolean hasMessage(); String getMessage(); CommandType getCommand(); boolean getStatus(); @Override boolean equals(Object obj); @Override String toString(); @Override MessageKey getKey(); static boolean containsRequiredFields(Set<String> fields); @Override void writeToParcel(Parcel out, int flags);  }