You are here

protected function EntityFieldDefaultValueTest::setUp in Zircon Profile 8

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

Performs setup tasks before each individual test method is run.

Overrides EntityUnitTestBase::setUp

File

core/modules/system/src/Tests/Entity/EntityFieldDefaultValueTest.php, line 27
Contains \Drupal\system\Tests\Entity\EntityFieldDefaultValueTest.

Class

EntityFieldDefaultValueTest
Tests default values for entity fields.

Namespace

Drupal\system\Tests\Entity

Code

protected function setUp() {
  parent::setUp();

  // Initiate the generator object.
  $this->uuid = $this->container
    ->get('uuid');
}