You are here

protected property EntityRepositoryTest::$entityRepository in Drupal 9

Same name in this branch
  1. 9 core/tests/Drupal/Tests/Core/Entity/EntityRepositoryTest.php \Drupal\Tests\Core\Entity\EntityRepositoryTest::entityRepository
  2. 9 core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php \Drupal\KernelTests\Core\Entity\EntityRepositoryTest::entityRepository
Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php \Drupal\KernelTests\Core\Entity\EntityRepositoryTest::entityRepository

The entity repository.

Type: \Drupal\Core\Entity\EntityRepositoryInterface

File

core/tests/Drupal/KernelTests/Core/Entity/EntityRepositoryTest.php, line 46

Class

EntityRepositoryTest
Tests the entity repository.

Namespace

Drupal\KernelTests\Core\Entity

Code

protected $entityRepository;