Exemplo n.º 1
0
        public void GetAllBookings_ShouldReturn_2()
        {
            var apiCall = _controller.GetAllBookings();

            apiCall.Result.Count.ShouldBe(2);
            apiCall.Result.ShouldNotBeNull();
            apiCall.Result.ShouldNotBeEmpty();
        }
Exemplo n.º 2
0
        public void BookingControllerTests_GetBookings()
        {
            var bookings = _carTimesController.GetAllBookings();

            Assert.True(bookings != null);
        }