Esempio n. 1
0
        public void GetUpcomingGigsByArtist_GigIsInThePast_ShouldNotBeReturned()
        {
            var gig = new Gig()
            {
                Datetime = DateTime.Now.AddDays(-1), ArtistId = "1"
            };

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

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

            gigs.Should().BeEmpty();
        }