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