| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,18 @@ |
| 1 |
+<?php |
|
| 2 |
+ |
|
| 3 |
+namespace Telnyx; |
|
| 4 |
+ |
|
| 5 |
+/** |
|
| 6 |
+ * @internal |
|
| 7 |
+ * @covers \Telnyx\RequestTelemetry |
|
| 8 |
+ */ |
|
| 9 |
+final class RequestTelemetryTest extends \Telnyx\TestCase |
|
| 10 |
+{
|
|
| 11 |
+ public function testRequestTelemetry() |
|
| 12 |
+ {
|
|
| 13 |
+ $result = new RequestTelemetry('req_id', 555);
|
|
| 14 |
+ $this->assertInstanceOf('\Telnyx\RequestTelemetry', $result);
|
|
| 15 |
+ $this->assertSame('req_id', $result->requestId);
|
|
| 16 |
+ $this->assertSame(555, $result->requestDuration); |
|
| 17 |
+ } |
|
| 18 |
+} |