コード例 #1
0
 @Test
 public void testAddAttendeeFalse() throws Exception {
   assertFalse(e2.addAttendee(a1));
   assertTrue(e2.isAttendedBy(a1));
 }
コード例 #2
0
 @Test
 public void testAddAttendeeNonEmpty() throws Exception {
   assertTrue(e2.addAttendee(a2));
   assertTrue(e2.isAttendedBy(a2));
 }
コード例 #3
0
 @Test
 public void testIsAttendedByTrue() throws Exception {
   assertTrue(e2.isAttendedBy(a1));
 }
コード例 #4
0
 @Test
 public void testAddAttendeeEmpty() throws Exception {
   assertTrue(e1.addAttendee(a1));
   assertTrue(e1.isAttendedBy(a1));
 }
コード例 #5
0
 @Test
 public void testIsAttendedByFalse() throws Exception {
   assertFalse(e1.isAttendedBy(a1));
 }