@Test public void toStringNotNull() { assertThat(customCommand.toString(), notNullValue()); }
@Override public String toString() { MoreObjects.ToStringHelper finalString = toStringHelper(COMMAND_KEY); finalString.add("timestamp", getTimestamp()); for (Map.Entry<String, String> entry : commands.entrySet()) { finalString.add(entry.getKey(), entry.getValue()); } return finalString.toString(); }
CustomCommand extends KeyedMessage { @Override public String toString() { MoreObjects.ToStringHelper finalString = toStringHelper(COMMAND_KEY); finalString.add("timestamp", getTimestamp()); for (Map.Entry<String, String> entry : commands.entrySet()) { finalString.add(entry.getKey(), entry.getValue()); } return finalString.toString(); } }
CustomCommand extends KeyedMessage { @Override public String toString() { MoreObjects.ToStringHelper finalString = toStringHelper(COMMAND_KEY); finalString.add("timestamp", getTimestamp()); for (Map.Entry<String, String> entry : commands.entrySet()) { finalString.add(entry.getKey(), entry.getValue()); } return finalString.toString(); } CustomCommand(HashMap commands); protected  CustomCommand(Parcel in); protected  CustomCommand(); }
CustomCommand extends KeyedMessage { @Override public String toString() { MoreObjects.ToStringHelper finalString = toStringHelper(COMMAND_KEY); finalString.add("timestamp", getTimestamp()); for (Map.Entry<String, String> entry : commands.entrySet()) { finalString.add(entry.getKey(), entry.getValue()); } return finalString.toString(); } CustomCommand(HashMap commands); protected  CustomCommand(Parcel in); protected  CustomCommand(); HashMap<String, String> getCommands(); @Override MessageKey getKey(); @Override boolean equals(Object obj); @Override String toString(); @Override void writeToParcel(Parcel out, int flags); }
CustomCommand extends KeyedMessage { @Override public String toString() { MoreObjects.ToStringHelper finalString = toStringHelper(COMMAND_KEY); finalString.add("timestamp", getTimestamp()); for (Map.Entry<String, String> entry : commands.entrySet()) { finalString.add(entry.getKey(), entry.getValue()); } return finalString.toString(); } CustomCommand(HashMap commands); protected  CustomCommand(Parcel in); protected  CustomCommand(); HashMap<String, String> getCommands(); @Override MessageKey getKey(); @Override boolean equals(Object obj); @Override String toString(); @Override void writeToParcel(Parcel out, int flags);  }