File manager - Edit - /home/autoph/public_html/projects/api/vendor/halaxa/json-machine/test/JsonMachineTest/JsonDecoder/ValidResultTest.php
Back
<?php declare(strict_types=1); namespace JsonMachineTest\JsonDecoder; use JsonMachine\JsonDecoder\ValidResult; use PHPUnit\Framework\TestCase; /** * @covers \JsonMachine\JsonDecoder\ValidResult */ class ValidResultTest extends TestCase { public function testGetValue() { $result = new ValidResult('Value X'); $this->assertSame('Value X', $result->getValue()); } public function testIsOk() { $result = new ValidResult('X'); $this->assertTrue($result->isOk()); } }
| ver. 1.4 |
.
| PHP 8.0.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings