@Test public void testToString() { GuidanceEstimatedArrivalViewData data = new GuidanceEstimatedArrivalViewData(ETA_DATE, DISTANCE, DURATION); String inputStr = "GuidanceEstimatedArrivalViewData(mEta=" + DateFormatterUtil.format(ETA_DATE) + ", mDistance=10000, mDuration=100)"; assertThat(data.toString(), is(inputStr)); }
@NonNull @Override public String toString() { return "GuidanceEstimatedArrivalViewData(mEta=" + DateFormatterUtil.format(this.mEta) + ", mDistance=" + this.mDistance + ", mDuration=" + this.mDuration + ")"; }
GuidanceEstimatedArrivalViewData implements Parcelable { @NonNull @Override public String toString() { return "GuidanceEstimatedArrivalViewData(mEta=" + DateFormatterUtil.format(this.mEta) + ", mDistance=" + this.mDistance + ", mDuration=" + this.mDuration + ")"; } }
GuidanceEstimatedArrivalViewData implements Parcelable { @NonNull @Override public String toString() { return "GuidanceEstimatedArrivalViewData(mEta=" + DateFormatterUtil.format(this.mEta) + ", mDistance=" + this.mDistance + ", mDuration=" + this.mDuration + ")"; } GuidanceEstimatedArrivalViewData(Date etaDate, Long distance, Integer duration); protected  GuidanceEstimatedArrivalViewData(Parcel in); }
GuidanceEstimatedArrivalViewData implements Parcelable { @NonNull @Override public String toString() { return "GuidanceEstimatedArrivalViewData(mEta=" + DateFormatterUtil.format(this.mEta) + ", mDistance=" + this.mDistance + ", mDuration=" + this.mDuration + ")"; } GuidanceEstimatedArrivalViewData(Date etaDate, Long distance, Integer duration); protected  GuidanceEstimatedArrivalViewData(Parcel in); @Override void writeToParcel(Parcel dest, int flags); @Override int describeContents(); Date getEta(); Long getDistance(); Integer getDuration(); @NonNull @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj1); }
GuidanceEstimatedArrivalViewData implements Parcelable { @NonNull @Override public String toString() { return "GuidanceEstimatedArrivalViewData(mEta=" + DateFormatterUtil.format(this.mEta) + ", mDistance=" + this.mDistance + ", mDuration=" + this.mDuration + ")"; } GuidanceEstimatedArrivalViewData(Date etaDate, Long distance, Integer duration); protected  GuidanceEstimatedArrivalViewData(Parcel in); @Override void writeToParcel(Parcel dest, int flags); @Override int describeContents(); Date getEta(); Long getDistance(); Integer getDuration(); @NonNull @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj1); static final Creator<GuidanceEstimatedArrivalViewData> CREATOR; }