You are here

public function StaticPHPDriverTest::testGetAllClassNames in Plug 7

File

lib/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/StaticPHPDriverTest.php, line 19

Class

StaticPHPDriverTest

Namespace

Doctrine\Tests\Common\Persistence\Mapping

Code

public function testGetAllClassNames() {
  $driver = new StaticPHPDriver(array(
    __DIR__,
  ));
  $classNames = $driver
    ->getAllClassNames();
  $this
    ->assertContains('Doctrine\\Tests\\Common\\Persistence\\Mapping\\TestEntity', $classNames);
}