public PaymentGateway(IPaymentIdProvider paymentIdProvider, IPaymentRequestPreProcessor paymentRequestPreProcessor, IPaymentRepository paymentRepository, IBank bank) { _paymentIdProvider = paymentIdProvider; _paymentRequestPreProcessor = paymentRequestPreProcessor; _paymentRepository = paymentRepository; _bank = bank; }
public PaymentRequestPreProcessorTests() { _maskCreditCardService = new Mock <IMaskCreditCardService>(); paymentRequestProcessor = new PaymentRequestPreProcessor(_maskCreditCardService.Object); }