function AtLeastOneOfConstraintValidatorTest::setUp

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Validation/AtLeastOneOfConstraintValidatorTest.php, line 30

Class

AtLeastOneOfConstraintValidatorTest
Tests AtLeastOneOf 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');
}

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