You are here

public function CustomNormalizerTest::testSupportsNormalization in Zircon Profile 8

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

File

vendor/symfony/serializer/Tests/Normalizer/CustomNormalizerTest.php, line 57

Class

CustomNormalizerTest

Namespace

Symfony\Component\Serializer\Tests\Normalizer

Code

public function testSupportsNormalization() {
  $this
    ->assertTrue($this->normalizer
    ->supportsNormalization(new ScalarDummy()));
  $this
    ->assertFalse($this->normalizer
    ->supportsNormalization(new \stdClass()));
}