Beispiel #1
0
        public void GetAllVenue()
        {
            Mock <ISeatService>     mockSeatService     = new Mock <ISeatService>();
            Mock <ITMLayoutService> mockTMLayoutService = new Mock <ITMLayoutService>();
            Mock <IAreaService>     mockAreaService     = new Mock <IAreaService>();
            Mock <IVenueRepository> mockVenueRepository = new Mock <IVenueRepository>();
            VenueService            venueService        = new VenueService(mockVenueRepository.Object,
                                                                           mockTMLayoutService.Object, mockAreaService.Object, mockSeatService.Object);

            List <VenueDto> venues = venueService.GetAllVenue();

            venues.Should().NotBeNull();
        }