public void ReviewCallsCorrectMethods() { _bookingControllerFactory.GetController().Review(_inViewModel); _bookingControllerFactory.BookingService.Verify(x => x.ValidateCustomerMake(It.IsAny <CustomerMakeBookingRequest>())); _bookingControllerFactory.BookingService.Verify(x => x.SummarizeCustomerMake(It.IsAny <CustomerMakeBookingRequest>())); }
public void ConfirmCallsCorrectMethods() { _bookingControllerFactory.GetController().Confirm(_inViewModel); _bookingControllerFactory.BookingService.Verify(x => x.CustomerMake(It.IsAny <CustomerMakeBookingRequest>())); }