public void Arrange() { _httpClient = new Mock <INotifyClientWrapper>(); _executionPolicy = new NoopExecutionPolicy(); _service = new NotifyEmailService.NotifyEmailService(_httpClient.Object, _executionPolicy); _email = new EmailMessage { RecipientsAddress = ToAddress, TemplateId = TemplateId, Tokens = new Dictionary <string, string> { { TokenKey, TokenValue } } }; }
public void Arrange() { _httpClient = new Mock <INotifyClientWrapper>(); _executionPolicy = new NoopExecutionPolicy(); _service = new NotifyEmailService.NotifySmsService(_httpClient.Object, _executionPolicy); _sms = new SmsMessage { RecipientsNumber = ToNumber, TemplateId = TemplateId, Tokens = new Dictionary <string, string> { { TokenKey, TokenValue } }, SystemId = SystemId }; }