public async Task GetBookingStatusAsync_NoRestrictions_ShouldReturnTheBooking() { // Arrange moqRepository.Setup(x => x.GetBookingStatusAsync(It.IsAny <string>())).ReturnsAsync(expectedBooking); // Act var actualBooking = await service.GetBookingStatusAsync(bookingConfirmationCode); // Assert moqRepository.VerifyAll(); Assert.AreEqual(expectedBooking, actualBooking); }