BookManagerTest::$entityRepository

Same name in other branches
  1. 10 core/modules/book/tests/src/Unit/BookManagerTest.php \Drupal\Tests\book\Unit\BookManagerTest::entityRepository
  2. 11.x core/modules/book/tests/src/Unit/BookManagerTest.php \Drupal\Tests\book\Unit\BookManagerTest::entityRepository

The mocked entity repository.

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

File

core/modules/book/tests/src/Unit/BookManagerTest.php, line 35

Class

BookManagerTest
@coversDefaultClass \Drupal\book\BookManager @group book

Namespace

Drupal\Tests\book\Unit

Code

protected $entityRepository;

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