You are here

protected function EntityRevisionParamConverterTest::setUp in Entity API 8.0

File

tests/src/Unit/ParamConverter/EntityRevisionParamConverterTest.php, line 40
Contains \Drupal\Tests\entity\Unit\ParamConverter\EntityRevisionParamConverterTest.

Class

EntityRevisionParamConverterTest
@coversDefaultClass \Drupal\entity\ParamConverter\EntityRevisionParamConverter @group entity

Namespace

Drupal\Tests\entity\Unit\ParamConverter

Code

protected function setUp() {
  parent::setUp();
  $this->converter = new EntityRevisionParamConverter($this
    ->prophesize(EntityTypeManagerInterface::class)
    ->reveal());
}