You are here

protected property TaxonomyTestTrait::$entityRepository in Search API 8

The mock entity repository service.

Type: \Drupal\Core\Entity\EntityRepositoryInterface|\PHPUnit\Framework\MockObject\MockObject

File

tests/src/Unit/Views/TaxonomyTestTrait.php, line 37

Class

TaxonomyTestTrait
Provides common methods for unit tests using taxonomy terms.

Namespace

Drupal\Tests\search_api\Unit\Views

Code

protected $entityRepository;