public void TestSendSMSusingClickatellApi() { smsProvider = new ClickatellRadioWave(); RadioWaveSmsRequest request = new RadioWaveSmsRequest(); request.ClientId = "SmsClient002"; request.DateCreated = DateTime.Now; request.Message = "Please deposit 1.25 million into my account. ThanksKBye"; request.MobileNumber = "27837644406"; var response = smsProvider.SendSms(request); Assert.IsTrue(response.Success, "Test to send a sms message using the Clickatell Api"); }
public NotifyMeService(INotifybyRadioWaveSms concreteImplementation) { notifyByRadioWaveSms = concreteImplementation; }
public NotificationSenderDI(INotifybyPigeon _emailProvider, INotifybyRadioWaveSms _smsProvider) { emailProvider = _emailProvider; smsProvider = _smsProvider; }
public NotifyMeService() { notifyByPigeon = new AOutlookPigeonExpress(); notifyByRadioWaveSms = new ClickatellRadioWave(); }
public NotificationSenderDI(INotifybyRadioWaveSms _smsProvider) { smsProvider = _smsProvider; }