You are here

public function ObjectNormalizerTest::testDenormalizeNonExistingAttribute in Zircon Profile 8

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

File

vendor/symfony/serializer/Tests/Normalizer/ObjectNormalizerTest.php, line 445

Class

ObjectNormalizerTest
@author Kévin Dunglas <dunglas@gmail.com>

Namespace

Symfony\Component\Serializer\Tests\Normalizer

Code

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