You are here

public function ContentAwareGeneratorTest::testGetLocaleDefault in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony-cmf/routing/Tests/Routing/ContentAwareGeneratorTest.php \Symfony\Cmf\Component\Routing\Tests\Routing\ContentAwareGeneratorTest::testGetLocaleDefault()

File

vendor/symfony-cmf/routing/Tests/Routing/ContentAwareGeneratorTest.php, line 400

Class

ContentAwareGeneratorTest

Namespace

Symfony\Cmf\Component\Routing\Tests\Routing

Code

public function testGetLocaleDefault() {
  $this->generator
    ->setDefaultLocale('en');
  $attributes = array();
  $this
    ->assertEquals('en', $this->generator
    ->getLocale($attributes));
}