function EntityRevisionParamConverterTest::setUp
Overrides UnitTestCase::setUp
File
- 
              core/
tests/ Drupal/ Tests/ Core/ ParamConverter/ EntityRevisionParamConverterTest.php, line 30  
Class
- EntityRevisionParamConverterTest
 - @coversDefaultClass \Drupal\Core\ParamConverter\EntityRevisionParamConverter[[api-linebreak]] @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.