You are here

public function AnnotationClassLoaderTest::testSupportsChecksResource in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/routing/Tests/Loader/AnnotationClassLoaderTest.php \Symfony\Component\Routing\Tests\Loader\AnnotationClassLoaderTest::testSupportsChecksResource()

@dataProvider provideTestSupportsChecksResource

File

vendor/symfony/routing/Tests/Loader/AnnotationClassLoaderTest.php, line 48

Class

AnnotationClassLoaderTest

Namespace

Symfony\Component\Routing\Tests\Loader

Code

public function testSupportsChecksResource($resource, $expectedSupports) {
  $this
    ->assertSame($expectedSupports, $this->loader
    ->supports($resource), '->supports() returns true if the resource is loadable');
}