You are here

public function FileDriverTest::testNonLocatorFallback in Plug 7

File

lib/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/FileDriverTest.php, line 112

Class

FileDriverTest

Namespace

Doctrine\Tests\Common\Persistence\Mapping

Code

public function testNonLocatorFallback() {
  $driver = new TestFileDriver(__DIR__ . '/_files', '.yml');
  $this
    ->assertTrue($driver
    ->isTransient('stdClass2'));
  $this
    ->assertFalse($driver
    ->isTransient('stdClass'));
}