Exemplo n.º 1
0
 protected static Attendance createTestAttendance(Meeting meeting, User attendee) {
   Attendance attendance = new Attendance();
   attendance.setCreated(new Date());
   attendance.setMeeting(meeting);
   attendance.setAttendee(attendee);
   return attendance;
 }
Exemplo n.º 2
0
 protected void assertAttendancesEquals(Attendance expected, Attendance actual) {
   assertEquals("Invite 'id' is wrong", expected.getId(), actual.getId());
   assertEquals("Invite 'created' is wrong", expected.getCreated(), actual.getCreated());
   assertMeetingsEquals(expected.getMeeting(), actual.getMeeting());
   assertUsersEquals(expected.getAttendee(), actual.getAttendee());
 }