Browse code

Added README.md appinfo/info.xml appinfo/signature.json lib/Controller/AuthorApiController.php and the providers directory

DoubleBastionAdmin authored on 20/08/2022 16:33:00
Showing 1 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,22 @@
1
+<?php
2
+
3
+namespace Telnyx;
4
+
5
+/**
6
+ * @internal
7
+ * @covers \Telnyx\PortingPhoneNumber
8
+ */
9
+final class PortingPhoneNumberTest extends \Telnyx\TestCase
10
+{
11
+    public function testIsListable()
12
+    {
13
+        $this->expectsRequest(
14
+            'get',
15
+            '/v2/porting_phone_numbers'
16
+        );
17
+        $resources = PortingPhoneNumber::all();
18
+        $this->assertInstanceOf(\Telnyx\Collection::class, $resources);
19
+        $this->assertInstanceOf(\Telnyx\PortingPhoneNumber::class, $resources['data'][0]);
20
+    }
21
+
22
+}