Beispiel #1
0
        public PaymentControllerTest()
        {
            _logger          = Substitute.For <ILoggerManager>();
            _paymentBusiness = Substitute.For <IPaymentBusiness>();

            _paymentController = new PaymentController(_logger, _paymentBusiness);
        }
Beispiel #2
0
 public PaymentController(IPaymentBusiness iPaymentBusiness = null, ICommandBus commandBus, IQueryBus queryBus)
 {
     this.commandBus       = commandBus;
     this.queryBus         = queryBus;
     this.iPaymentBusiness = iPaymentBusiness ??
                             GsbIoC.Instance.GetInstance <IPaymentBusiness>();
 }
Beispiel #3
0
 public PaymentController(
     IPaymentBusiness paymentBusiness,
     IMapper mapper,
     IApiResponseWrapper apiResponseWrapper)
 {
     this.paymentBusiness    = paymentBusiness;
     this.mapper             = mapper;
     this.apiResponseWrapper = apiResponseWrapper;
 }
Beispiel #4
0
 public PaymentService(IPaymentBusiness paymentBusiness,
                       IOrdersBusiness ordersBusiness,
                       IShopCartBusiness shopCartBusiness,
                       IBilletIntegration billetIntegration,
                       ICredCardIntegration credCardIntegration)
 {
     _paymentBusiness     = paymentBusiness;
     _ordersBusiness      = ordersBusiness;
     _shopCartBusiness    = shopCartBusiness;
     _billetIntegration   = billetIntegration;
     _credCardIntegration = credCardIntegration;
 }
Beispiel #5
0
 public PaymentController(ILoggerManager logger, IPaymentBusiness paymentBusiness)
 {
     this._logger          = logger;
     this._paymentBusiness = paymentBusiness;
 }
Beispiel #6
0
 public PaymentService()
 {
     this.iPaymentBusiness =
         SimpleIoC.Instance.GetInstance <IPaymentBusiness>();
 }
Beispiel #7
0
 public PaymentServices(IPaymentBusiness paymentBusiness)
 {
     _paymentBusiness = paymentBusiness;
 }
Beispiel #8
0
 public PaymentController(IPaymentBusiness iPaymentBusiness)
 {
     this.iPaymentBusiness = iPaymentBusiness;
 }
 public PaymentController(ILogger <PaymentController> logger,
                          IPaymentBusiness iPaymentBusiness)
 {
     this._logger          = logger;
     this.iPaymentBusiness = iPaymentBusiness;
 }
Beispiel #10
0
 public PaymentController(IPaymentBusiness iPaymentBusiness = null)
 {
     this.iPaymentBusiness = iPaymentBusiness ??
                             GsbIoC.Instance.GetInstance <IPaymentBusiness>();
 }
Beispiel #11
0
 public PaymentController(
     IPaymentBusiness paymentBusiness
     )
 {
     _paymentBusiness = paymentBusiness;
 }
 public PaymentsController(IPaymentBusiness PaymentBusiness)
 {
     this.PaymentBusiness = PaymentBusiness;
 }
 public PaymentsController(IPaymentBusiness PaymentBusiness, IEgreetingUserBusiness EgreetingUserBusiness)
 {
     this.PaymentBusiness       = PaymentBusiness;
     this.EgreetingUserBusiness = EgreetingUserBusiness;
 }
Beispiel #14
0
 public PaymentController(ILogger <PaymentController> logger, IPaymentBusiness paymentBusiness)
 {
     _Logger          = logger;
     _PaymentBusiness = paymentBusiness;
 }
Beispiel #15
0
 public void Setup()
 {
     _Logger            = Substitute.For <ILogger <PaymentController> >();
     _PaymentBusiness   = Substitute.For <IPaymentBusiness>();
     _PaymentController = new PaymentController(_Logger, _PaymentBusiness);
 }