You are here

class AnnotationDriverTest in Plug 7

Hierarchy

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

Expanded class hierarchy of AnnotationDriverTest

File

lib/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