function NullNormalizerTest::setUp

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

Overrides UnitTestCase::setUp

File

core/modules/serialization/tests/src/Unit/Normalizer/NullNormalizerTest.php, line 31

Class

NullNormalizerTest
@coversDefaultClass \Drupal\serialization\Normalizer\NullNormalizer @group serialization

Namespace

Drupal\Tests\serialization\Unit\Normalizer

Code

protected function setUp() : void {
    $this->normalizer = new NullNormalizer($this->interface);
}

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