You are here

public function ParameterBindingTest::testGetParameter in Drupal 7 to 8/9 Module Upgrader 8

File

tests/src/Unit/Routing/ParameterBindingTest.php, line 32

Class

ParameterBindingTest
@group DMU.Routing

Namespace

Drupal\Tests\drupalmoduleupgrader\Unit\Routing

Code

public function testGetParameter() {
  $path = new PathUtility('foo/baz');
  $binding = new ParameterBinding($path, $this->parameter);
  $this
    ->assertSame($this->parameter, $binding
    ->getParameter());
}