You are here

public function GetSetMethodNormalizerTest::testDenormalizeNonExistingAttribute in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/serializer/Tests/Normalizer/GetSetMethodNormalizerTest.php \Symfony\Component\Serializer\Tests\Normalizer\GetSetMethodNormalizerTest::testDenormalizeNonExistingAttribute()

File

vendor/symfony/serializer/Tests/Normalizer/GetSetMethodNormalizerTest.php, line 542

Class

GetSetMethodNormalizerTest

Namespace

Symfony\Component\Serializer\Tests\Normalizer

Code

public function testDenormalizeNonExistingAttribute() {
  $this
    ->assertEquals(new GetSetDummy(), $this->normalizer
    ->denormalize(array(
    'non_existing' => true,
  ), __NAMESPACE__ . '\\GetSetDummy'));
}