public function AnnotationClassLoaderTest::testSupportsChecksResource

@dataProvider provideTestSupportsChecksResource

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Tests/Loader/AnnotationClassLoaderTest.php, line 45

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');
}