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,23 @@
1
+<?php
2
+
3
+namespace Telnyx\PhoneNumber;
4
+
5
+/**
6
+ * @internal
7
+ * @covers \Telnyx\PhoneNumber\Voice
8
+ */
9
+final class VoiceTest extends \Telnyx\TestCase
10
+{
11
+
12
+    public function testIsListable()
13
+    {
14
+        $this->expectsRequest(
15
+            'get',
16
+            '/v2/phone_numbers/voice'
17
+        );
18
+        $resources = Voice::all();
19
+        $this->assertInstanceOf(\Telnyx\Collection::class, $resources);
20
+        $this->assertInstanceOf(\Telnyx\PhoneNumber\Voice::class, $resources['data'][0]);
21
+    }
22
+
23
+}