function MapDataNormalizerTest::setUp

Overrides KernelTestBase::setUp

File

core/modules/serialization/tests/src/Kernel/MapDataNormalizerTest.php, line 38

Class

MapDataNormalizerTest
@group TypedData

Namespace

Drupal\Tests\serialization\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this->serializer = \Drupal::service('serializer');
  $this->typedDataManager = \Drupal::typedDataManager();
}

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