HaloModuleFieldType implements Parcelable { @Override public String toString() { return "HaloModuleFieldType{" + "mName='" + mName + '\'' + ", mId='" + mId + '\'' + ", mIsLongvalue='" + mIsLongvalue + '\'' + ", mName='" + mName + '\'' + ", mRules=" + mRules.toString() + ", mCreationDate=" + mCreationDate + ", mLastUpdate=" + mLastUpdate + ", mDeleteDate=" + mDeleteDate + '}'; } HaloModuleFieldType(String mName, List<HaloModuleFieldRule> mRules, Boolean mIsLongvalue, Date mDeleteDate, Date mLastUpdate, Date mCreationDate, String mId);  HaloModuleFieldType(); protected  HaloModuleFieldType(Parcel in); @NonNull String getName(); @NonNull List<HaloModuleFieldRule> getRules(); @NonNull Boolean getIsLongvalue(); @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 final Creator<HaloModuleFieldType> CREATOR; }
@Test public void thatPrintObjectToString() { HaloModuleFieldType newHaloModuleFieldType = TestUtils.testParcel(mHaloModuleFieldType, HaloModuleFieldType.CREATOR); assertThat(mHaloModuleFieldType.toString()).isNotNull(); }