mirror of
https://github.com/halaxa/json-machine.git
synced 2025-07-17 20:41:17 +02:00
22 lines
493 B
PHP
22 lines
493 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace JsonMachineTest\JsonDecoder;
|
|
|
|
use JsonMachine\JsonDecoder\PassThruDecoder;
|
|
use PHPUnit\Framework\TestCase;
|
|
|
|
/**
|
|
* @covers \JsonMachine\JsonDecoder\PassThruDecoder
|
|
*/
|
|
class PassThruDecoderTest extends TestCase
|
|
{
|
|
public function testPassThruDecode()
|
|
{
|
|
$passThruDecoder = new PassThruDecoder();
|
|
$passThruResult = $passThruDecoder->decode('["json"]');
|
|
$this->assertSame('["json"]', $passThruResult->getValue());
|
|
}
|
|
}
|