public function GetSetMethodNormalizerTest::testConstructorWArgWithPrivateMutator in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/serializer/Tests/Normalizer/GetSetMethodNormalizerTest.php \Symfony\Component\Serializer\Tests\Normalizer\GetSetMethodNormalizerTest::testConstructorWArgWithPrivateMutator()
File
- vendor/
symfony/ serializer/ Tests/ Normalizer/ GetSetMethodNormalizerTest.php, line 256
Class
Namespace
Symfony\Component\Serializer\Tests\NormalizerCode
public function testConstructorWArgWithPrivateMutator() {
$obj = $this->normalizer
->denormalize(array(
'foo' => 'bar',
), __NAMESPACE__ . '\\ObjectConstructorArgsWithPrivateMutatorDummy', 'any');
$this
->assertEquals('bar', $obj
->getFoo());
}