public void SendSMS() { //Arrange var phoneNumber = "12341234"; var otp = "123456"; //Act var result = SH.SendSMS(phoneNumber, otp) as string; //Assert Assert.IsNotNull(result); Assert.AreEqual("Success", result); }
public void GetCredentials() { //Arrange var key1 = "accesskey"; var key2 = "secretkey"; //Act var result1 = SH.GetCredentials(key1) as string; var result2 = SH.GetCredentials(key2) as string; //Assert Assert.IsNotNull(result1); Assert.IsNotNull(result2); }