PhpBench\Tests\Unit\Json\JsonDecoderTest::testNormalizer PHP Метод

testNormalizer() публичный Метод

It should convert "non-strict" JSON to JSON.
public testNormalizer ( $string, $expected )
    public function testNormalizer($string, $expected)
    {
        $result = $this->jsonDecoder->decode($string);
        $this->assertEquals($expected, $result);
    }