You are here

protected function PropertyNormalizerTest::setUp in Zircon Profile 8

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

File

vendor/symfony/serializer/Tests/Normalizer/PropertyNormalizerTest.php, line 36

Class

PropertyNormalizerTest

Namespace

Symfony\Component\Serializer\Tests\Normalizer

Code

protected function setUp() {
  $this->serializer = $this
    ->getMock('Symfony\\Component\\Serializer\\SerializerInterface');
  $this->normalizer = new PropertyNormalizer();
  $this->normalizer
    ->setSerializer($this->serializer);
}