public function JsonEncoderTest::testComplexObject in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/serializer/Tests/Encoder/JsonEncoderTest.php \Symfony\Component\Serializer\Tests\Encoder\JsonEncoderTest::testComplexObject()
File
- vendor/
symfony/ serializer/ Tests/ Encoder/ JsonEncoderTest.php, line 36
Class
Namespace
Symfony\Component\Serializer\Tests\EncoderCode
public function testComplexObject() {
$obj = $this
->getObject();
$expected = $this
->getJsonSource();
$this
->assertEquals($expected, $this->encoder
->encode($obj, 'json'));
}