You are here

public function AnnotationDirectoryLoaderTest::testLoad in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/routing/Tests/Loader/AnnotationDirectoryLoaderTest.php \Symfony\Component\Routing\Tests\Loader\AnnotationDirectoryLoaderTest::testLoad()

File

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