public RememberWhenApplicationService( IParameterManagementService parameterManagementService, IEnvironmentManagementService environmentService, IMemoryService memoryService, IEmailService emailService, ITextMessageService textMessageService) { _environmentService = environmentService; _parameterManagementService = parameterManagementService; _memoryService = memoryService; _emailService = emailService; _textMessageService = textMessageService; }
public SSMParameterManagementServiceTests() { _ssmMock = new Mock <IAmazonSimpleSystemsManagement>(); _ssmMock.Setup(m => m.GetParameterAsync( It.Is <GetParameterRequest>(x => x.WithDecryption == true), It.IsAny <CancellationToken>())) .ReturnsAsync((GetParameterRequest req, CancellationToken t) => new GetParameterResponse { HttpStatusCode = HttpStatusCode.OK, Parameter = new Parameter { Name = req.Name, Value = req.Name + "Value" } }); _sut = new SSMParameterManagementService(_ssmMock.Object); }
public TwilioTextMessageService(IParameterManagementService parameterManagementService) { _parameterManagementService = parameterManagementService; }