示例#1
0
        public void Close_Event()
        {
            var eventToCreate = new Event
            {
                Validated = true,
                Guests    = 16,
                EventDate = DateTime.Now.AddDays(5)
            };

            _sut.CloseEvent(eventToCreate);
            eventToCreate.Closed.Should().Be(true);
        }