You are here

public function StaticPHPDriverTest::testGetAllClassNames in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/StaticPHPDriverTest.php \Doctrine\Tests\Common\Persistence\Mapping\StaticPHPDriverTest::testGetAllClassNames()

File

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