You are here

protected function AllowedValuesConstraintValidatorTest::setUp in Zircon Profile 8

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

Performs setup tasks before each individual test method is run.

Overrides KernelTestBase::setUp

File

core/modules/system/src/Tests/Validation/AllowedValuesConstraintValidatorTest.php, line 27
Contains \Drupal\system\Tests\Validation\AllowedValuesConstraintValidatorTest.

Class

AllowedValuesConstraintValidatorTest
Tests AllowedValues validation constraint with both valid and invalid values.

Namespace

Drupal\system\Tests\Validation

Code

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