public function MemberMetadataTest::testLegacySerializeCollectionCascadedDeeply in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/validator/Tests/Mapping/MemberMetadataTest.php \Symfony\Component\Validator\Tests\Mapping\MemberMetadataTest::testLegacySerializeCollectionCascadedDeeply()
@group legacy
File
- vendor/
symfony/ validator/ Tests/ Mapping/ MemberMetadataTest.php, line 91
Class
Namespace
Symfony\Component\Validator\Tests\MappingCode
public function testLegacySerializeCollectionCascadedDeeply() {
$this->metadata
->addConstraint(new Valid(array(
'traverse' => true,
)));
$metadata = unserialize(serialize($this->metadata));
$this
->assertEquals($this->metadata, $metadata);
}