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);
        }
 public InvoiceController(IBillingPaymentMediator billingPaymentMediator)
 {
     _billingPaymentMediator = billingPaymentMediator;
 }
 public AccountController(IBillingPaymentMediator billingPaymentMediator)
 {
     _billingPaymentMediator = billingPaymentMediator;
 }