AvailableLocalPhoneNumbers() public method

public AvailableLocalPhoneNumbers ( Int32 areaCode = null, String contains = null, String inRegion = null, Int32 inPostalCode = null ) : IList
areaCode System.Int32
contains String
inRegion String
inPostalCode System.Int32
return IList
Exemplo n.º 1
0
        public void AvailableLocalPhoneNumbersByAreaCodeShouldReturnAvailablePhoneNumbersList()
        {
            var account = new TwilioAccountMock();
            var phoneAutomation = new PhoneAutomation(account);
            var availablePhoneNumbers = phoneAutomation.AvailableLocalPhoneNumbers(1);

            Assert.IsNotNull(availablePhoneNumbers);
        }