示例#1
0
 public void VAttendee_Rsvp()
 {
     Attendee target = new Attendee(null);
     bool expected = true;
     bool actual;
     target.Rsvp = expected;
     actual = target.Rsvp;
     Assert.AreEqual(expected, actual);
     Assert.AreEqual("YES", target.GetParameter("RSVP"));
 }
示例#2
0
 public void VAttendee_Constructor()
 {
     Attendee target = new Attendee(null);
     Assert.IsNotNull(target);
     Assert.IsNull(target.Value);
     Assert.AreEqual(CalendarStatus.UNKNOWN, target.ParticipantStatus);
     Assert.AreEqual(CuType.UNKNOWN, target.CalendarUserType);
     Assert.AreEqual(ExpectType.UNKNOWN, target.Expect);
     Assert.AreEqual("NO", target.GetParameter("RSVP"));
 }