You are here

protected function SerializationTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/serialization/tests/src/Kernel/SerializationTest.php \Drupal\Tests\serialization\Kernel\SerializationTest::setUp()
  2. 9 core/modules/serialization/tests/src/Kernel/SerializationTest.php \Drupal\Tests\serialization\Kernel\SerializationTest::setUp()

File

core/modules/serialization/tests/src/Kernel/SerializationTest.php, line 29

Class

SerializationTest
Functional tests for serialization system.

Namespace

Drupal\Tests\serialization\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this->serializer = $this->container
    ->get('serializer');
}