File manager - Edit - /home/autoph/public_html/projects/api/vendor/halaxa/json-machine/test/JsonMachineTest/Exception/SyntaxErrorExceptionTest.php
Back
<?php declare(strict_types=1); namespace JsonMachineTest\Exception; use JsonMachine\Exception\SyntaxErrorException; use PHPUnit\Framework\TestCase; /** * @covers \JsonMachine\Exception\SyntaxErrorException */ class SyntaxErrorExceptionTest extends TestCase { public function testMessageContainsDataFromConstructor() { $exception = new SyntaxErrorException('msg 42', '24'); $this->assertContains('msg 42', $exception->getMessage()); $this->assertContains('24', $exception->getMessage()); } }
| ver. 1.4 |
.
| PHP 8.0.30 | Generation time: 0.03 |
proxy
|
phpinfo
|
Settings