Project { public Date getLastModifiedDate() { return this.lastModifiedDate; } Project(ProjectEntity projectEntity, List<PledgeEntity> pledges, UserEntity requestingUser);  Project(ProjectEntity projectEntity, List<PledgeEntity> pledges, UserEntity requestingUser, long likeCount, LikeStatus likeStatusOfRequestUser);  Project(); String getId(); ProjectStatus getStatus(); String getTitle(); String getShortDescription(); String getDescription(); int getPledgeGoal(); int getPledgedAmount(); long getBackers(); ProjectCreator getCreator(); Date getLastModifiedDate(); int getPledgedAmountByRequestingUser(); int getPledgedAmountByPostRoundBudget(); List<Attachment> getAttachments(); void setId(String id); void setStatus(ProjectStatus status); void setTitle(String title); void setShortDescription(String shortDescription); void setDescription(String description); void setPledgeGoal(int pledgeGoal); void setPledgedAmount(int pledgedAmount); void setBackers(long backers); void setCreator(ProjectCreator creator); void setLastModifiedDate(Date lastModifiedDate); void setPledgedAmountByRequestingUser(int pledgedAmountByRequestingUser); void setPledgedAmountByPostRoundBudget(int pledgedAmountByPostRoundBudget); long getLikeCount(); void setLikeCount(long likeCount); void setAttachments(List<Attachment> attachments); LikeStatus getLikeStatusOfRequestUser(); void setLikeStatusOfRequestUser(LikeStatus likeStatusOfRequestUser); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }
@Test public void constructionWorks_NullSafe() throws Exception { Project res = new Project(projectEntity, pledges, user2); assertThat(res.getLastModifiedDate(), is(nullValue())); }