示例#1
0
        public void GetUpcomingGigsByArtist_GigIsInThePast_ShouldNotBeReturned()
        {
            var gig = new Gig()
            {
                DateTime = DateTime.Now.AddDays(-1)
            };

            _mockGigs.SetSource(new[] { gig });

            var gigs = _repository.GetUpcommingGigsByArtist("1");

            gigs.Should().BeEmpty();
        }