You are here

public function FileDriverTest::testGlobalBasename in Zircon Profile 8

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

File

vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/FileDriverTest.php, line 11

Class

FileDriverTest

Namespace

Doctrine\Tests\Common\Persistence\Mapping

Code

public function testGlobalBasename() {
  $driver = new TestFileDriver(array());
  $this
    ->assertNull($driver
    ->getGlobalBasename());
  $driver
    ->setGlobalBasename("global");
  $this
    ->assertEquals("global", $driver
    ->getGlobalBasename());
}