@Test public void toStringNotNull() { assertThat(message.toString(), notNullValue()); }
@Override public String toString() { return toStringHelper(this) .add("timestamp", getTimestamp()) .add(COMMAND_KEY, getCommand()) .add(BUS_KEY, getBus()) .add(ENABLED_KEY, isEnabled()) .add(BYPASS_KEY, isBypass()) .add(FORMAT_KEY, getFormat()) .add(UNIX_TIME_KEY,getUnixTime()) .add(ACTION_KEY, getAction()) .add("diagnostic_request", getDiagnosticRequest()) .add("extras", getExtras()) .toString(); }
Command extends KeyedMessage { @Override public String toString() { return toStringHelper(this) .add("timestamp", getTimestamp()) .add(COMMAND_KEY, getCommand()) .add(BUS_KEY, getBus()) .add(ENABLED_KEY, isEnabled()) .add(BYPASS_KEY, isBypass()) .add(FORMAT_KEY, getFormat()) .add(UNIX_TIME_KEY,getUnixTime()) .add(ACTION_KEY, getAction()) .add("diagnostic_request", getDiagnosticRequest()) .add("extras", getExtras()) .toString(); } }
Command extends KeyedMessage { @Override public String toString() { return toStringHelper(this) .add("timestamp", getTimestamp()) .add(COMMAND_KEY, getCommand()) .add(BUS_KEY, getBus()) .add(ENABLED_KEY, isEnabled()) .add(BYPASS_KEY, isBypass()) .add(FORMAT_KEY, getFormat()) .add(UNIX_TIME_KEY,getUnixTime()) .add(ACTION_KEY, getAction()) .add("diagnostic_request", getDiagnosticRequest()) .add("extras", getExtras()) .toString(); } Command(CommandType command, int bus, boolean enabled);  Command(CommandType command, boolean bypass, int bus);  Command(String format,CommandType command);  Command(CommandType command, long unixTime);  Command(CommandType command, String action);  Command(CommandType command);  Command(DiagnosticRequest request, String action); protected  Command(Parcel in); protected  Command(); }
Command extends KeyedMessage { @Override public String toString() { return toStringHelper(this) .add("timestamp", getTimestamp()) .add(COMMAND_KEY, getCommand()) .add(BUS_KEY, getBus()) .add(ENABLED_KEY, isEnabled()) .add(BYPASS_KEY, isBypass()) .add(FORMAT_KEY, getFormat()) .add(UNIX_TIME_KEY,getUnixTime()) .add(ACTION_KEY, getAction()) .add("diagnostic_request", getDiagnosticRequest()) .add("extras", getExtras()) .toString(); } Command(CommandType command, int bus, boolean enabled);  Command(CommandType command, boolean bypass, int bus);  Command(String format,CommandType command);  Command(CommandType command, long unixTime);  Command(CommandType command, String action);  Command(CommandType command);  Command(DiagnosticRequest request, String action); protected  Command(Parcel in); protected  Command(); CommandType getCommand(); boolean hasAction(); String getAction(); DiagnosticRequest getDiagnosticRequest(); int getBus(); void setBus(int mBus); boolean isEnabled(); void setEnabled(boolean enabled); boolean isBypass(); void setBypass(boolean bypass); String getFormat(); void setFormat(String Format); long getUnixTime(); void setUnixTime(long unixTime); @Override MessageKey getKey(); static boolean containsRequiredFields(Set<String> fields); @Override boolean equals(Object obj); @Override String toString(); @Override void writeToParcel(Parcel out, int flags); }
Command extends KeyedMessage { @Override public String toString() { return toStringHelper(this) .add("timestamp", getTimestamp()) .add(COMMAND_KEY, getCommand()) .add(BUS_KEY, getBus()) .add(ENABLED_KEY, isEnabled()) .add(BYPASS_KEY, isBypass()) .add(FORMAT_KEY, getFormat()) .add(UNIX_TIME_KEY,getUnixTime()) .add(ACTION_KEY, getAction()) .add("diagnostic_request", getDiagnosticRequest()) .add("extras", getExtras()) .toString(); } Command(CommandType command, int bus, boolean enabled);  Command(CommandType command, boolean bypass, int bus);  Command(String format,CommandType command);  Command(CommandType command, long unixTime);  Command(CommandType command, String action);  Command(CommandType command);  Command(DiagnosticRequest request, String action); protected  Command(Parcel in); protected  Command(); CommandType getCommand(); boolean hasAction(); String getAction(); DiagnosticRequest getDiagnosticRequest(); int getBus(); void setBus(int mBus); boolean isEnabled(); void setEnabled(boolean enabled); boolean isBypass(); void setBypass(boolean bypass); String getFormat(); void setFormat(String Format); long getUnixTime(); void setUnixTime(long unixTime); @Override MessageKey getKey(); static boolean containsRequiredFields(Set<String> fields); @Override boolean equals(Object obj); @Override String toString(); @Override void writeToParcel(Parcel out, int flags);  }