public void SendSMSTest() { var client = new Sinch.SMS.Client(key, secret); var messageid = client.SendSMS("+46722223355", "hello from .net").Result; Assert.AreNotEqual(0, messageid); }
public void CheckStatusSucess() { var client = new Sinch.SMS.Client(key, secret); var messageid = client.SendSMS("+46722223355", "hello from .net").Result; var status = client.CheckStatus(messageid).Result; Assert.AreEqual(SMSStatus.Successful, status); }