You are here

protected function ObjectNormalizerTest::setUp 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::setUp()

File

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

Class

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

Namespace

Symfony\Component\Serializer\Tests\Normalizer

Code

protected function setUp() {
  $this->serializer = $this
    ->getMock(__NAMESPACE__ . '\\ObjectSerializerNormalizer');
  $this->normalizer = new ObjectNormalizer();
  $this->normalizer
    ->setSerializer($this->serializer);
}