示例#1
0
 public PaymentProcessor(ILevyPaymentProcessor levyPaymentProcessor, ICoInvestedPaymentProcessor coInvestedPaymentProcessor, ITransferPaymentProcessor transferPaymentProcessor)
 {
     this.levyPaymentProcessor       = levyPaymentProcessor;
     this.coInvestedPaymentProcessor = coInvestedPaymentProcessor;
     this.transferPaymentProcessor   = transferPaymentProcessor ?? throw new ArgumentNullException(nameof(transferPaymentProcessor));
 }
 public void SetUp()
 {
     levyBalanceServiceMock = new Mock <ILevyBalanceService>(MockBehavior.Strict);
     processor = new LevyPaymentProcessor(levyBalanceServiceMock.Object);
 }