Esempio n. 1
0
        public void Initialise()
        {
            _loggerMock          = new Mock <ILogger <SendAmendDirectDebitPlanProcess> >();
            _apiGatewayProxyMock = new Mock <IApiGatewayProxy>();

            _sendAmendDirectDebitPlanProcess = new SendAmendDirectDebitPlanProcess(_loggerMock.Object, _apiGatewayProxyMock.Object);
        }
 public AmendDirectDebitPlanService(IAmendDirectDebitVmValidatorProcess amendDirectDebitVmValidatorProcess,
                                    IDirectDebitFrequencyTranslator directDebitFrequencyTranslator,
                                    IBuildAmendDirectDebitVmService buildAmendDirectDebitVmService,
                                    ISendAmendDirectDebitPlanProcess sendAmendDirectDebitPlanProcess,
                                    IDirectDebitTermCalculator directDebitTermCalculator)
 {
     _amendDirectDebitVmValidatorProcess = amendDirectDebitVmValidatorProcess;
     _directDebitFrequencyTranslator     = directDebitFrequencyTranslator;
     _buildAmendDirectDebitVmService     = buildAmendDirectDebitVmService;
     _sendAmendDirectDebitPlanProcess    = sendAmendDirectDebitPlanProcess;
     _directDebitTermCalculator          = directDebitTermCalculator;
 }