You are here

protected function ParamConversionEnhancerTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 36
Contains \Drupal\Tests\Core\Enhancer\ParamConversionEnhancerTest.

Class

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

Namespace

Drupal\Tests\Core\Enhancer

Code

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