コード例 #1
0
 /**
  * @group legacy
  */
 public function testLegacyDenormalizeOnCamelCaseFormat()
 {
     $this->normalizer->setCamelizedAttributes(array('camel_case'));
     $obj = $this->normalizer->denormalize(array('camel_case' => 'camelCase'), __NAMESPACE__ . '\\ObjectDummy');
     $this->assertEquals('camelCase', $obj->getCamelCase());
 }