Phprest\Service\Hateoas\UtilTest::testJsonDeserializeWithUnsopportedFormat PHP Method

testJsonDeserializeWithUnsopportedFormat() public method

    public function testJsonDeserializeWithUnsopportedFormat()
    {
        $this->container->add(Application::CONTAINER_ID_VENDOR, 'phprest');
        $this->container->add(Application::CONTAINER_ID_API_VERSION, '3.2');
        $request = new Request([], [], [], [], [], [], '{"a":1,"b":2}');
        $request->headers->set('Content-Type', 'application/yaml', true);
        $sample = $this->deserialize('Phprest\\Stub\\Entity\\Sample', $request);
    }