You are here

protected function EntityTypeManagerTest::getTestHandlerClass in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php \Drupal\Tests\Core\Entity\EntityTypeManagerTest::getTestHandlerClass()

Gets a mock controller class name.

Return value

string A mock controller class name.

5 calls to EntityTypeManagerTest::getTestHandlerClass()
EntityTypeManagerTest::testGetAccessControlHandler in core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php
Tests the getAccessControlHandler() method.
EntityTypeManagerTest::testGetHandler in core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php
Tests the getHandler() method.
EntityTypeManagerTest::testGetListBuilder in core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php
Tests the getListBuilder() method.
EntityTypeManagerTest::testGetStorage in core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php
Tests the getStorage() method.
EntityTypeManagerTest::testGetViewBuilder in core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php
Tests the getViewBuilder() method.

File

core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php, line 389
Contains \Drupal\Tests\Core\Entity\EntityTypeManagerTest.

Class

EntityTypeManagerTest
@coversDefaultClass \Drupal\Core\Entity\EntityTypeManager @group Entity

Namespace

Drupal\Tests\Core\Entity

Code

protected function getTestHandlerClass() {
  return get_class($this
    ->getMockForAbstractClass(EntityHandlerBase::class));
}