public function SerializerTest::testDeserializeSupported in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/serializer/Tests/SerializerTest.php \Symfony\Component\Serializer\Tests\SerializerTest::testDeserializeSupported()
File
- vendor/
symfony/ serializer/ Tests/ SerializerTest.php, line 187
Class
Namespace
Symfony\Component\Serializer\TestsCode
public function testDeserializeSupported() {
$this->serializer = new Serializer(array(
new GetSetMethodNormalizer(),
), array());
$data = array(
'title' => 'foo',
'numbers' => array(
5,
3,
),
);
$this
->assertTrue($this->serializer
->supportsDenormalization(json_encode($data), '\\Symfony\\Component\\Serializer\\Tests\\Model', 'json'));
}