@Test public void toStringNotNull() { assertThat(message.toString(), notNullValue()); }
@Override public String toString() { return MoreObjects.toStringHelper(this) .add("timestamp", getTimestamp()) .add("bus", getBusId()) .add("id", getId()) .add("data", Arrays.toString(getData())) .toString(); }
CanMessage extends KeyedMessage { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("timestamp", getTimestamp()) .add("bus", getBusId()) .add("id", getId()) .add("data", Arrays.toString(getData())) .toString(); } }
CanMessage extends KeyedMessage { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("timestamp", getTimestamp()) .add("bus", getBusId()) .add("id", getId()) .add("data", Arrays.toString(getData())) .toString(); } CanMessage(int canBus, int id, byte[] data); protected  CanMessage(Parcel in); }
CanMessage extends KeyedMessage { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("timestamp", getTimestamp()) .add("bus", getBusId()) .add("id", getId()) .add("data", Arrays.toString(getData())) .toString(); } CanMessage(int canBus, int id, byte[] data); protected  CanMessage(Parcel in); int getBusId(); int getId(); byte[] getData(); @Override MessageKey getKey(); static boolean containsRequiredFields(Set<String> fields); @Override int compareTo(VehicleMessage other); @Override boolean equals(Object obj); @Override String toString(); @Override void writeToParcel(Parcel out, int flags); @Override void readFromParcel(Parcel in); }
CanMessage extends KeyedMessage { @Override public String toString() { return MoreObjects.toStringHelper(this) .add("timestamp", getTimestamp()) .add("bus", getBusId()) .add("id", getId()) .add("data", Arrays.toString(getData())) .toString(); } CanMessage(int canBus, int id, byte[] data); protected  CanMessage(Parcel in); int getBusId(); int getId(); byte[] getData(); @Override MessageKey getKey(); static boolean containsRequiredFields(Set<String> fields); @Override int compareTo(VehicleMessage other); @Override boolean equals(Object obj); @Override String toString(); @Override void writeToParcel(Parcel out, int flags); @Override void readFromParcel(Parcel in);  }