HaloModuleFieldType implements Parcelable { @NonNull public String getName() { return mName; } 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 thatCanCreateAModuleField(){ assertThat(mHaloModuleFieldType).isNotNull(); assertThat(mHaloModuleFieldType.getName()).isEqualTo("myawesomeName"); }