| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,20 @@ |
| 1 |
+<?php |
|
| 2 |
+ |
|
| 3 |
+namespace Telnyx; |
|
| 4 |
+ |
|
| 5 |
+/** |
|
| 6 |
+ * @internal |
|
| 7 |
+ * @covers \Telnyx\Balance |
|
| 8 |
+ */ |
|
| 9 |
+final class BalanceTest extends \Telnyx\TestCase |
|
| 10 |
+{
|
|
| 11 |
+ public function testIsRetrievable() |
|
| 12 |
+ {
|
|
| 13 |
+ $this->expectsRequest( |
|
| 14 |
+ 'get', |
|
| 15 |
+ '/v2/balance' |
|
| 16 |
+ ); |
|
| 17 |
+ $resource = Balance::retrieve(); |
|
| 18 |
+ $this->assertInstanceOf(\Telnyx\Balance::class, $resource); |
|
| 19 |
+ } |
|
| 20 |
+} |