You are here

protected function ChainEntityResolverTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 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() {
  $this->testNormalizer = $this
    ->createMock('Symfony\\Component\\Serializer\\Normalizer\\NormalizerInterface');
  $this->testData = new \stdClass();
}