HaloModuleField implements Parcelable { @Override public String toString() { return "HaloModuleField{" + "mModuleFieldType='" + mModuleFieldType + '\'' + ", mModule='" + mModule + '\'' + ", mName='" + mName + '\'' + ", mDescription='" + mDescription + '\'' + ", mCustomerId='" + mCustomerId + '\'' + ", mId='" + mId + '\'' + ", mCreationDate='" + mCreationDate + '\'' + ", mLastUpdate='" + mLastUpdate + '\'' + ", mDeleteDate='" + mDeleteDate + '\'' + '}'; } HaloModuleField();  HaloModuleField(HaloModuleFieldType mModuleFieldType, String mModule, String mName, String mFormat, String mDescription, int mCustomerId, Date mDeleteDate, Date mLastUpdate, Date mCreationDate, String mId); protected  HaloModuleField(Parcel in); @NonNull HaloModuleFieldType getModuleFieldType(); @NonNull String getModule(); @NonNull String getName(); @NonNull String getFormat(); @NonNull String getDescription(); @NonNull int getCustomerId(); @NonNull Date getDeleteDate(); @NonNull Date getLastUpdate(); @NonNull Date getCreationDate(); @NonNull String getId(); @Override int describeContents(); @Override void writeToParcel(Parcel dest, int flags); @Override String toString(); static String serialize(@NonNull HaloModuleField haloModuleField, @NonNull Parser.Factory parser); @Nullable static HaloModuleField deserialize(@Nullable String haloModuleField, @NonNull Parser.Factory parser); static final Creator<HaloModuleField> CREATOR; }
@Test public void thatPrintObjectToString() { HaloModuleField newHaloModuleField = TestUtils.testParcel(mHaloModuleField, HaloModuleField.CREATOR); assertThat(mHaloModuleField.toString()).isNotNull(); }