You are here

public function RouteTest::testLegacyGetPattern in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/routing/Tests/Annotation/RouteTest.php \Symfony\Component\Routing\Tests\Annotation\RouteTest::testLegacyGetPattern()

@group legacy

File

vendor/symfony/routing/Tests/Annotation/RouteTest.php, line 53

Class

RouteTest

Namespace

Symfony\Component\Routing\Tests\Annotation

Code

public function testLegacyGetPattern() {
  $route = new Route(array(
    'value' => '/Blog',
  ));
  $this
    ->assertEquals($route
    ->getPattern(), '/Blog');
}