You are here

public function RouteWrapperTest::setUp in Drupal 7 to 8/9 Module Upgrader 8

Overrides UnitTestCase::setUp

File

tests/src/Unit/Routing/Drupal8/RouteWrapperTest.php, line 16

Class

RouteWrapperTest
@group DMU.Routing

Namespace

Drupal\Tests\drupalmoduleupgrader\Unit\Routing\Drupal8

Code

public function setUp() {
  parent::setUp();
  $this->route = new Route('user/{user}/edit');
  $this->wrapper = new RouteWrapper('user.edit', $this->route, $this
    ->createMock('\\Drupal\\Core\\Routing\\RouteProviderInterface'));
}