protected function ComplexDataConstraintValidatorTest::setUp in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/Tests/Validation/ComplexDataConstraintValidatorTest.php \Drupal\system\Tests\Validation\ComplexDataConstraintValidatorTest::setUp()
Performs setup tasks before each individual test method is run.
Overrides KernelTestBase::setUp
File
- core/
modules/ system/ src/ Tests/ Validation/ ComplexDataConstraintValidatorTest.php, line 29 - Contains \Drupal\system\Tests\Validation\ComplexDataConstraintValidatorTest.
Class
- ComplexDataConstraintValidatorTest
- Tests ComplexData validation constraint with both valid and invalid values for a key.
Namespace
Drupal\system\Tests\ValidationCode
protected function setUp() {
parent::setUp();
$this->typedData = $this->container
->get('typed_data_manager');
}