Esempio n. 1
0
        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());
        }
Esempio n. 2
0
        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());
        }