public function AnnotationDriverTest::testGetAllClassNames in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/AnnotationDriverTest.php \Doctrine\Tests\Common\Persistence\Mapping\AnnotationDriverTest::testGetAllClassNames()
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ Mapping/ AnnotationDriverTest.php, line 11
Class
Namespace
Doctrine\Tests\Common\Persistence\MappingCode
public function testGetAllClassNames() {
$reader = new AnnotationReader();
$driver = new SimpleAnnotationDriver($reader, array(
__DIR__ . '/_files/annotation',
));
$classes = $driver
->getAllClassNames();
$this
->assertEquals(array(
'Doctrine\\TestClass',
), $classes);
}