예제 #1
0
 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>()));
 }
예제 #2
0
 public void ConfirmCallsCorrectMethods()
 {
     _bookingControllerFactory.GetController().Confirm(_inViewModel);
     _bookingControllerFactory.BookingService.Verify(x => x.CustomerMake(It.IsAny <CustomerMakeBookingRequest>()));
 }