You are here

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

Same name in this branch
  1. 8 tests/src/Unit/Utility/Path/Drupal7/PathUtilityTest.php \Drupal\Tests\drupalmoduleupgrader\Unit\Utility\Path\Drupal7\PathUtilityTest::setUp()
  2. 8 tests/src/Unit/Utility/Path/Drupal8/PathUtilityTest.php \Drupal\Tests\drupalmoduleupgrader\Unit\Utility\Path\Drupal8\PathUtilityTest::setUp()

Overrides UnitTestCase::setUp

File

tests/src/Unit/Utility/Path/Drupal8/PathUtilityTest.php, line 14

Class

PathUtilityTest
@group DMU.Utility.Path

Namespace

Drupal\Tests\drupalmoduleupgrader\Unit\Utility\Path\Drupal8

Code

public function setUp() {
  parent::setUp();
  $this->path = new PathUtility('node/{node}/foo/{bar}');
}