You are here

protected function ParamConversionEnhancerTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/Enhancer/ParamConversionEnhancerTest.php \Drupal\Tests\Core\Enhancer\ParamConversionEnhancerTest::setUp()
  2. 9 core/tests/Drupal/Tests/Core/Enhancer/ParamConversionEnhancerTest.php \Drupal\Tests\Core\Enhancer\ParamConversionEnhancerTest::setUp()

Overrides UnitTestCase::setUp

File

core/tests/Drupal/Tests/Core/Enhancer/ParamConversionEnhancerTest.php, line 31

Class

ParamConversionEnhancerTest
@coversDefaultClass \Drupal\Core\Routing\Enhancer\ParamConversionEnhancer @group Enhancer

Namespace

Drupal\Tests\Core\Enhancer

Code

protected function setUp() : void {
  parent::setUp();
  $this->paramConverterManager = $this
    ->createMock('Drupal\\Core\\ParamConverter\\ParamConverterManagerInterface');
  $this->paramConversionEnhancer = new ParamConversionEnhancer($this->paramConverterManager);
}