public EmailNotificationProcessorTests() { fakeAccountsService = A.Fake <IAccountsService>(ops => ops.Strict()); fakeApplicationLogger = A.Fake <IApplicationLogger>(ops => ops.Strict()); fakeSendCitizenNotificationService = A.Fake <ISendCitizenNotification <Account> >(ops => ops.Strict()); fakeConfiguration = A.Fake <IConfigConfigurationProvider>(ops => ops.Strict()); SetupCalls(); }
public EmailNotificationProcessor( ISendCitizenNotification <Account> sendCitizenNotificationService, IApplicationLogger applicationLogger, IConfigConfigurationProvider configuration, IAccountsService accountsService) { this.sendCitizenNotificationService = sendCitizenNotificationService; this.applicationLogger = applicationLogger; this.configuration = configuration; this.accountsService = accountsService; }