function EntityRevisionParamConverterTest::setUp
Same name and namespace in other branches
- 8.9.x core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php \Drupal\Tests\Core\ParamConverter\EntityRevisionParamConverterTest::setUp()
- 10 core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php \Drupal\Tests\Core\ParamConverter\EntityRevisionParamConverterTest::setUp()
- 11.x core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php \Drupal\Tests\Core\ParamConverter\EntityRevisionParamConverterTest::setUp()
Overrides UnitTestCase::setUp
File
-
core/
tests/ Drupal/ Tests/ Core/ ParamConverter/ EntityRevisionParamConverterTest.php, line 30
Class
- EntityRevisionParamConverterTest
- @coversDefaultClass <a href="/api/drupal/core%21lib%21Drupal%21Core%21ParamConverter%21EntityRevisionParamConverter.php/class/EntityRevisionParamConverter/9" title="Parameter converter for upcasting entity revision IDs to full objects." class="local">\Drupal\Core\ParamConverter\EntityRevisionParamConverter</a> @group entity
Namespace
Drupal\Tests\Core\ParamConverterCode
protected function setUp() : void {
parent::setUp();
$this->converter = new EntityRevisionParamConverter($this->prophesize(EntityTypeManagerInterface::class)
->reveal(), $this->prophesize(EntityRepositoryInterface::class)
->reveal());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.