You are here

public function ProviderBasedGeneratorTest::testSupports in Zircon Profile 8.0

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

File

vendor/symfony-cmf/routing/Tests/Routing/ProviderBasedGeneratorTest.php, line 87

Class

ProviderBasedGeneratorTest

Namespace

Symfony\Cmf\Component\Routing\Tests\Routing

Code

public function testSupports() {
  $this
    ->assertTrue($this->generator
    ->supports('foo/bar'));
  $this
    ->assertTrue($this->generator
    ->supports($this->routeDocument));
  $this
    ->assertFalse($this->generator
    ->supports($this));
}