public function AnnotationDirectoryLoaderTest::testLoad

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Tests/Loader/AnnotationDirectoryLoaderTest.php, line 30

Class

AnnotationDirectoryLoaderTest

Namespace

Symfony\Component\Routing\Tests\Loader

Code

public function testLoad() {
  $this->reader
    ->expects($this
    ->exactly(2))
    ->method('getClassAnnotation');
  $this->reader
    ->expects($this
    ->any())
    ->method('getMethodAnnotations')
    ->will($this
    ->returnValue(array()));
  $this->loader
    ->load(__DIR__ . '/../Fixtures/AnnotatedClasses');
}