HaloModuleFieldRule implements Parcelable { @Override public String toString() { return "HaloModuleFieldRule{" + "mParams='" + mParams.toString() + '\'' + ", mRule='" + mRule + '\'' + ", mError='" + mError + '\'' + '}'; } HaloModuleFieldRule();  HaloModuleFieldRule(String mRule, List<String> mParams, String mError); protected  HaloModuleFieldRule(Parcel in); @NonNull String getRule(); @Override void writeToParcel(Parcel dest, int flags); @Override int describeContents(); @Override String toString(); static final Creator<HaloModuleFieldRule> CREATOR; }
@Test public void thatPrintObjectToString() { HaloModuleFieldRule newHaloModuleRule = TestUtils.testParcel(mHaloModuleRule, HaloModuleFieldRule.CREATOR); assertThat(mHaloModuleRule.toString()).isNotNull(); }