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