You are here

protected function ParamConversionEnhancerTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 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() {
  parent::setUp();
  $this->paramConverterManager = $this
    ->createMock('Drupal\\Core\\ParamConverter\\ParamConverterManagerInterface');
  $this->paramConversionEnhancer = new ParamConversionEnhancer($this->paramConverterManager);
}