public function GetSetMethodNormalizerTest::testUncallableCallbacks 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::testUncallableCallbacks()
@expectedException \InvalidArgumentException
File
- vendor/
symfony/ serializer/ Tests/ Normalizer/ GetSetMethodNormalizerTest.php, line 381
Class
Namespace
Symfony\Component\Serializer\Tests\NormalizerCode
public function testUncallableCallbacks() {
$this->normalizer
->setCallbacks(array(
'bar' => null,
));
$obj = new GetConstructorDummy('baz', 'quux', true);
$this->normalizer
->normalize($obj, 'any');
}