public function MemberMetadataTest::testSerializeCollectionCascadedDeeply in Plug 7
File
- lib/
Symfony/ validator/ Symfony/ Component/ Validator/ Tests/ Mapping/ MemberMetadataTest.php, line 82
Class
Namespace
Symfony\Component\Validator\Tests\MappingCode
public function testSerializeCollectionCascadedDeeply() {
$this->metadata
->addConstraint(new Valid(array(
'traverse' => true,
'deep' => true,
)));
$metadata = unserialize(serialize($this->metadata));
$this
->assertEquals($this->metadata, $metadata);
}