You are here

protected function SerializationTest::setUp in Drupal 8

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

Overrides KernelTestBase::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() {
  parent::setUp();
  $this->serializer = $this->container
    ->get('serializer');
}