ConfigEntityMapperTest::$entity

Same name in other branches
  1. 9 core/modules/config_translation/tests/src/Unit/ConfigEntityMapperTest.php \Drupal\Tests\config_translation\Unit\ConfigEntityMapperTest::entity
  2. 8.9.x core/modules/config_translation/tests/src/Unit/ConfigEntityMapperTest.php \Drupal\Tests\config_translation\Unit\ConfigEntityMapperTest::entity
  3. 10 core/modules/config_translation/tests/src/Unit/ConfigEntityMapperTest.php \Drupal\Tests\config_translation\Unit\ConfigEntityMapperTest::entity

The entity instance used for testing.

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

File

core/modules/config_translation/tests/src/Unit/ConfigEntityMapperTest.php, line 38

Class

ConfigEntityMapperTest
Tests the functionality provided by the configuration entity mapper.

Namespace

Drupal\Tests\config_translation\Unit

Code

protected $entity;

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