예제 #1
0
        public void GetAllBookings_ShouldReturn_2()
        {
            var apiCall = _controller.GetAllBookings();

            apiCall.Result.Count.ShouldBe(2);
            apiCall.Result.ShouldNotBeNull();
            apiCall.Result.ShouldNotBeEmpty();
        }
예제 #2
0
        public void BookingControllerTests_GetBookings()
        {
            var bookings = _carTimesController.GetAllBookings();

            Assert.True(bookings != null);
        }