public BillingPaymentMediatorTests()
        {
            _mapper = new MapperConfiguration(mc =>
            {
                mc.AddProfile(new AccountAutomapper());
            }).CreateMapper();

            _mockBillingPaymentProvider = new Mock <IBillingPaymentProvider>();
            _testableMessageSession     = new TestableMessageSession();
            _billingPaymentMediator     = new BillingPaymentMediator(
                _testableMessageSession,
                _mockBillingPaymentProvider.Object,
                _mapper);
        }
示例#2
0
 public InvoiceController(IBillingPaymentMediator billingPaymentMediator)
 {
     _billingPaymentMediator = billingPaymentMediator;
 }
示例#3
0
 public AccountController(IBillingPaymentMediator billingPaymentMediator)
 {
     _billingPaymentMediator = billingPaymentMediator;
 }