public function SerializerTest::testNormalizeOnDenormalizer in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/serializer/Tests/SerializerTest.php \Symfony\Component\Serializer\Tests\SerializerTest::testNormalizeOnDenormalizer()
@expectedException \Symfony\Component\Serializer\Exception\UnexpectedValueException
File
- vendor/
symfony/ serializer/ Tests/ SerializerTest.php, line 62
Class
Namespace
Symfony\Component\Serializer\TestsCode
public function testNormalizeOnDenormalizer() {
$this->serializer = new Serializer(array(
new TestDenormalizer(),
), array());
$this
->assertTrue($this->serializer
->normalize(new \stdClass(), 'json'));
}