public Msg91SmsUtilityUnitTest() { _msg91ServiceConfiguration = new Msg91BulkSmsServiceConfiguration() { AuthKey = "sandbox key", BaseApiUrl = "base api url", SendOtpApiUrl = "send otp url", SenderId = "Msg912" }; _httpWebRequestHandler = new Mock <IHttpWebRequestHandler>(); msg91 = new Msg91(_msg91ServiceConfiguration, _httpWebRequestHandler.Object); }
public Msg91(Msg91BulkSmsServiceConfiguration msg91ServiceConfiguration, IHttpWebRequestHandler httpWebRequestHandler) { _msg91ServiceConfiguration = msg91ServiceConfiguration; _httpWebRequestHandler = httpWebRequestHandler; }