You are here

public function FileDriverTest::testGlobalBasename in Plug 7

File

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