You are here

protected function BundleConstraintValidatorTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php \Drupal\KernelTests\Core\Entity\BundleConstraintValidatorTest::setUp()

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Entity/BundleConstraintValidatorTest.php, line 24

Class

BundleConstraintValidatorTest
Tests validation constraints for BundleConstraintValidator.

Namespace

Drupal\KernelTests\Core\Entity

Code

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