| 1 | 1 |
new file mode 100644 |
| ... | ... |
@@ -0,0 +1,19 @@ |
| 1 |
+<?php |
|
| 2 |
+ |
|
| 3 |
+namespace Telnyx\Exception; |
|
| 4 |
+ |
|
| 5 |
+/** |
|
| 6 |
+ * @internal |
|
| 7 |
+ * @covers \Telnyx\Exception\SignatureVerificationException |
|
| 8 |
+ */ |
|
| 9 |
+final class SignatureVerificationExceptionTest extends \Telnyx\TestCase |
|
| 10 |
+{
|
|
| 11 |
+ |
|
| 12 |
+ public function testGetters() |
|
| 13 |
+ {
|
|
| 14 |
+ $e = SignatureVerificationException::factory('message', 'payload', 'sig_header');
|
|
| 15 |
+ static::assertSame('message', $e->getMessage());
|
|
| 16 |
+ static::assertSame('payload', $e->getHttpBody());
|
|
| 17 |
+ static::assertSame('sig_header', $e->getSigHeader());
|
|
| 18 |
+ } |
|
| 19 |
+} |