public function GetSetMethodNormalizerTest::testNameConverterSupport 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::testNameConverterSupport()
File
- vendor/
symfony/ serializer/ Tests/ Normalizer/ GetSetMethodNormalizerTest.php, line 117
Class
Namespace
Symfony\Component\Serializer\Tests\NormalizerCode
public function testNameConverterSupport() {
$this->normalizer = new GetSetMethodNormalizer(null, new CamelCaseToSnakeCaseNameConverter());
$obj = $this->normalizer
->denormalize(array(
'camel_case' => 'camelCase',
), __NAMESPACE__ . '\\GetSetDummy');
$this
->assertEquals('camelCase', $obj
->getCamelCase());
}