public void Should_Not_Send_Sms_Message_To_Nonmobile_Number() { var message = Notifications.CreateMessage(NONMOBILE_FAIL_TO_NUMBER); message.Send(TEST_ACCOUNTSID, TEST_AUTHTOKEN); Assert.AreEqual(MessageStatus.Fail, message.Status); }
public void Should_Not_Send_Sms_Message_From_Nonowned_Number() { var message = Notifications.CreateMessage(NONOWNED_FROM_NUMBER, TO_NUMBER); message.Send(TEST_ACCOUNTSID, TEST_AUTHTOKEN); Assert.AreEqual(MessageStatus.Fail, message.Status); }
public void Should_Send_Sms_Message_Successfully() { var message = Notifications.CreateMessage(TO_NUMBER); message.Send(TEST_ACCOUNTSID, TEST_AUTHTOKEN); Assert.AreEqual(MessageStatus.Success, message.Status); }