function ValidSequenceKeysValidatorTest::setUp

Same name and namespace in other branches
  1. 11.x core/tests/Drupal/KernelTests/Core/Validation/ValidSequenceKeysValidatorTest.php \Drupal\KernelTests\Core\Validation\ValidSequenceKeysValidatorTest::setUp()

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Validation/ValidSequenceKeysValidatorTest.php, line 43

Class

ValidSequenceKeysValidatorTest
Tests ValidSequenceKeys validation constraint with both valid and invalid values.

Namespace

Drupal\KernelTests\Core\Validation

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.