@Test public void testUserFeedback() { assertEquals(userFeedback.getUsername(), username); assertEquals(userFeedback.getSubmitted(), submitted); assertEquals(userFeedback.getScore(), score); assertEquals(userFeedback.getComments(), comments); assertEquals(userFeedback.isContactOkay(), contactOkay); assertEquals(userFeedback.getEmail(), email); }
public UserFeedback() { super(); submitted = new Date(); }
UserFeedback { public UserFeedback() { super(); submitted = new Date(); } }
UserFeedback { public UserFeedback() { super(); submitted = new Date(); } UserFeedback(); }
UserFeedback { public UserFeedback() { super(); submitted = new Date(); } UserFeedback(); Date getSubmitted(); void setSubmitted(Date submitted); String getEmail(); void setEmail(String email); UserInfo.Username getUsername(); void setUsername(UserInfo.Username username); int getScore(); void setScore(int score); String getComments(); void setComments(String comments); boolean isContactOkay(); void setContactOkay(boolean contactOkay); static Builder newInstance(UserInfo.Username username); static Builder from(UserFeedback feedback); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj); }
UserFeedback { public UserFeedback() { super(); submitted = new Date(); } UserFeedback(); Date getSubmitted(); void setSubmitted(Date submitted); String getEmail(); void setEmail(String email); UserInfo.Username getUsername(); void setUsername(UserInfo.Username username); int getScore(); void setScore(int score); String getComments(); void setComments(String comments); boolean isContactOkay(); void setContactOkay(boolean contactOkay); static Builder newInstance(UserInfo.Username username); static Builder from(UserFeedback feedback); @Override String toString(); @Override int hashCode(); @Override boolean equals(Object obj);  }