You are here

public function ContentAwareGeneratorTest::testGenerateNoContent in Zircon Profile 8

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

Generate without any information.

@expectedException \Symfony\Component\Routing\Exception\RouteNotFoundException

File

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

Class

ContentAwareGeneratorTest

Namespace

Symfony\Cmf\Component\Routing\Tests\Routing

Code

public function testGenerateNoContent() {
  $this->generator
    ->generate('', array());
}