public void Session_can_be_under_consideration_when_to_few_accepts() { var session = new GameNight(GameNightState.Suggested, 2); var attendee = new User(); session.AddAttendee(attendee); Assert.IsFalse(session.IsScheduled()); }
public void SessionSuggestion_can_have_attendandts() { var session = new GameNight(GameNightState.Suggested, 1); var attendee = new User(); session.AddAttendee(attendee); Assert.AreEqual(attendee, session.GetAttendees().First()); }
public void AddAttendee(User attendee) { _registeredUsers.Add(attendee); }