Esempio n. 1
0
        public async Task WhenSettingPending_AndBookingIsCancelled_ShouldSetBookingStatusToClosed()
        {
            await _bookingManger.Create();

            await _bookingManger.SubmitDetails("Artur", 2);

            await _bookingManger.Cancel();


            var status = _bookingManger.Booking.Status;

            status.Should().Be(BookingStatus.Closed);
        }