You are here

protected function ChainEntityResolverTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/serialization/tests/src/Unit/EntityResolver/ChainEntityResolverTest.php \Drupal\Tests\serialization\Unit\EntityResolver\ChainEntityResolverTest::setUp()
  2. 9 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 38

Class

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

Namespace

Drupal\Tests\serialization\Unit\EntityResolver

Code

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