function ChainEntityResolverTest::setUp

Same name in other branches
  1. 9 core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php \Drupal\Tests\serialization\Unit\EntityResolver\ChainEntityResolverTest::setUp()
  2. 8.9.x core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php \Drupal\Tests\serialization\Unit\EntityResolver\ChainEntityResolverTest::setUp()
  3. 11.x core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php \Drupal\Tests\serialization\Unit\EntityResolver\ChainEntityResolverTest::setUp()

Overrides UnitTestCase::setUp

File

core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php, line 40

Class

ChainEntityResolverTest
@coversDefaultClass \Drupal\serialization\EntityResolver\ChainEntityResolver @group serialization

Namespace

Drupal\Tests\serialization\Unit\EntityResolver

Code

protected function setUp() : void {
    parent::setUp();
    $this->testNormalizer = $this->createMock('Symfony\\Component\\Serializer\\Normalizer\\NormalizerInterface');
    $this->testData = new \stdClass();
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.