public PaymentValidationService(
     ICurrencyRepository currencyRepository,
     IPaymentCardService paymentCardService)
 {
     _currencyRepository = currencyRepository;
     _paymentCardService = paymentCardService;
 }
Example #2
0
        public PaymentCardServiceTests()
        {
            _mockPaymentCardIssuerRepository = new Mock <IPaymentCardIssuerRepository>();

            _paymentCardService = new PaymentCardService(
                _mockPaymentCardIssuerRepository.Object);
        }