public void GetAllBookings_ShouldReturn_2() { var apiCall = _controller.GetAllBookings(); apiCall.Result.Count.ShouldBe(2); apiCall.Result.ShouldNotBeNull(); apiCall.Result.ShouldNotBeEmpty(); }
public void BookingControllerTests_GetBookings() { var bookings = _carTimesController.GetAllBookings(); Assert.True(bookings != null); }