@@ -0,0 +1,1338 @@
+import json%0Aimport unittest%0Afrom mock import Mock, patch%0Afrom twilio import TwilioException%0Afrom twilio.rest.resources import PhoneNumbers%0Afrom twilio.rest.resources import PhoneNumber%0A%0A%0Aclass PhoneNumberTest(unittest.TestCase):%0A%0A    def setUp(self):%0A        self.parent = Mock()%0A        self.uri = %22/base%22%0A        self.auth = (%22AC123%22, %22token%22)%0A%0A    def test_transfer(self):%0A        resource = PhoneNumbers(self.uri, self.auth)%0A        resource.update = Mock()%0A        resource.transfer(%22SID%22, %22AC123%22)%0A        resource.update.assert_called_with(%22SID%22, account_sid=%22AC123%22)%0A%0A    def test_instance_transfer(self):%0A        mock = Mock()%0A        mock.uri = %22/base%22%0A        instance = PhoneNumber(mock, %22SID%22)%0A        instance.transfer(%22AC123%22)%0A        mock.transfer.assert_called_with(%22SID%22, %22AC123%22)%0A%0A    def test_base_uri(self):%0A        parent = Mock()%0A        parent.base_uri = (%22https://api.twilio.com/2010-04-01/Accounts/%22%0A            %22AC123%22)%0A        resource = PhoneNumber(parent, %22PNd2ae06cced59a5733d2c1c1c69a83a28%22)%0A%0A        with open(%22tests/resources/incoming_phone_numbers_instance.json%22) as f:%0A            entry = json.load(f)%0A            resource.load(entry)%0A%0A        self.assertEquals(resource.parent.base_uri, %0A            (%22https://api.twilio.com/2010-04-01/Accounts/AC4bf2dafbed59a573%22%0A             %223d2c1c1c69a83a28%22))%0A%0A%0A

Add phone number tests