PhpBench\Tests\Unit\Json\JsonDecoderTest::testThrowException PHP Method

testThrowException() public method

It should throw an exception if a non-string value is passed.
public testThrowException ( )
    public function testThrowException()
    {
        $this->jsonDecoder->decode(new \stdClass());
    }