@Test public void toStringNotNull() { assertThat(message.toString(), notNullValue()); }
@Override public String toString() { return MoreObjects.toStringHelper(this) .add("timestamp", getTimestamp()) .add("name", getName()) .add("extras", getExtras()) .toString(); }
NamedVehicleMessage extends KeyedMessage { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("timestamp", getTimestamp()) .add("name", getName()) .add("extras", getExtras()) .toString(); } }
NamedVehicleMessage extends KeyedMessage { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("timestamp", getTimestamp()) .add("name", getName()) .add("extras", getExtras()) .toString(); } NamedVehicleMessage(String name);  NamedVehicleMessage(Long timestamp, String name); protected  NamedVehicleMessage(Parcel in); protected  NamedVehicleMessage(); }
NamedVehicleMessage extends KeyedMessage { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("timestamp", getTimestamp()) .add("name", getName()) .add("extras", getExtras()) .toString(); } NamedVehicleMessage(String name);  NamedVehicleMessage(Long timestamp, String name); protected  NamedVehicleMessage(Parcel in); protected  NamedVehicleMessage(); String getName(); @Override int compareTo(VehicleMessage other); @Override boolean equals(Object obj); @Override MessageKey getKey(); static boolean containsRequiredFields(Set<String> fields); @Override String toString(); @Override void writeToParcel(Parcel out, int flags); }
NamedVehicleMessage extends KeyedMessage { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("timestamp", getTimestamp()) .add("name", getName()) .add("extras", getExtras()) .toString(); } NamedVehicleMessage(String name);  NamedVehicleMessage(Long timestamp, String name); protected  NamedVehicleMessage(Parcel in); protected  NamedVehicleMessage(); String getName(); @Override int compareTo(VehicleMessage other); @Override boolean equals(Object obj); @Override MessageKey getKey(); static boolean containsRequiredFields(Set<String> fields); @Override String toString(); @Override void writeToParcel(Parcel out, int flags);  }