You are here

public function ContentAwareGeneratorTest::testGenerateInvalidContent 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::testGenerateInvalidContent()

Generate with an object that is neither a route nor route aware.

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

File

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

Class

ContentAwareGeneratorTest

Namespace

Symfony\Cmf\Component\Routing\Tests\Routing

Code

public function testGenerateInvalidContent() {
  $this->generator
    ->generate($this);
}