public function AnnotationClassLoaderTest::testSupportsChecksTypeIfSpecified in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/routing/Tests/Loader/AnnotationClassLoaderTest.php \Symfony\Component\Routing\Tests\Loader\AnnotationClassLoaderTest::testSupportsChecksTypeIfSpecified()
File
- vendor/
symfony/ routing/ Tests/ Loader/ AnnotationClassLoaderTest.php, line 66
Class
Namespace
Symfony\Component\Routing\Tests\LoaderCode
public function testSupportsChecksTypeIfSpecified() {
$this
->assertTrue($this->loader
->supports('class', 'annotation'), '->supports() checks the resource type if specified');
$this
->assertFalse($this->loader
->supports('class', 'foo'), '->supports() checks the resource type if specified');
}