public PostUnitTestController() { var context = new PaymentAccessPortalContext(dbContextOptions); _IPaymentGateway = new PaymentServicesFake(context); _ICheapPaymentGateway = new PaymentServicesFake(context); _IExpensivePaymentGateway = new PaymentServicesFake(context); _IPremiumPaymentService = new PaymentServicesFake(context); _controller = new PaymentController(_IPaymentGateway, _ICheapPaymentGateway, _IExpensivePaymentGateway, _IPremiumPaymentService); }
public PaymentServicesFake(PaymentAccessPortalContext paymentAccessPortalContext) { _PaymentAccessPortalContext = paymentAccessPortalContext; }