You are here

class AnnotationDriverTest in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/AnnotationDriverTest.php \Doctrine\Tests\Common\Persistence\Mapping\AnnotationDriverTest

Hierarchy

  • class \Doctrine\Tests\Common\Persistence\Mapping\AnnotationDriverTest extends \Doctrine\Tests\Common\Persistence\Mapping\PHPUnit_Framework_TestCase

Expanded class hierarchy of AnnotationDriverTest

File

vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/AnnotationDriverTest.php, line 9

Namespace

Doctrine\Tests\Common\Persistence\Mapping
View source
class AnnotationDriverTest extends \PHPUnit_Framework_TestCase {
  public function testGetAllClassNames() {
    $reader = new AnnotationReader();
    $driver = new SimpleAnnotationDriver($reader, array(
      __DIR__ . '/_files/annotation',
    ));
    $classes = $driver
      ->getAllClassNames();
    $this
      ->assertEquals(array(
      'Doctrine\\TestClass',
    ), $classes);
  }

}

Members