public GovUkNotifyService(IApplicationLogger applicationLogger, IGovUkNotifyClientProxy clientProxy, IConfigConfigurationProvider configuration, IAccountsService accountsService)
 {
     this.applicationLogger = applicationLogger;
     this.clientProxy       = clientProxy;
     this.configuration     = configuration;
     this.accountsService   = accountsService;
 }
 public GovUkNotifyServiceTests()
 {
     fakeApplicationLogger = A.Fake <IApplicationLogger>(ops => ops.Strict());
     fakeConfiguration     = A.Fake <IConfigConfigurationProvider>(ops => ops.Strict());
     fakeGovUkNotifyClient = A.Fake <IGovUkNotifyClientProxy>(ops => ops.Strict());
     fakeAccountsService   = A.Fake <IAccountsService>(ops => ops.Strict());
     SetupCalls();
 }
コード例 #3
0
 public GovUkNotifyService(IApplicationLogger applicationLogger, IGovUkNotifyClientProxy clientProxy)
 {
     this.applicationLogger = applicationLogger;
     this.clientProxy       = clientProxy;
 }