public void Should_Not_Initiate_Outbound_Call_To_International_Number() { var call = Notifications.CreateCall(INTERNATIONAL_FAIL_TO_NUMBER); call.Initiate(TEST_ACCOUNTSID, TEST_AUTHTOKEN); Assert.AreEqual(CallStatus.Fail, call.Status); }
public void Should_Initiate_Outbound_Call_Successfully() { var call = Notifications.CreateCall(TO_NUMBER); call.Initiate(TEST_ACCOUNTSID, TEST_AUTHTOKEN); Assert.AreEqual(CallStatus.Success, call.Status); }