You are here

protected function SerializationTest::setUp in Zircon Profile 8

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

Performs setup tasks before each individual test method is run.

Overrides KernelTestBase::setUp

File

core/modules/serialization/src/Tests/SerializationTest.php, line 34
Contains \Drupal\serialization\Tests\SerializationTest.

Class

SerializationTest
Functional tests for serialization system.

Namespace

Drupal\serialization\Tests

Code

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