public function FileDriverTest::testNonLocatorFallback in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/FileDriverTest.php \Doctrine\Tests\Common\Persistence\Mapping\FileDriverTest::testNonLocatorFallback()
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ Mapping/ FileDriverTest.php, line 112
Class
Namespace
Doctrine\Tests\Common\Persistence\MappingCode
public function testNonLocatorFallback() {
$driver = new TestFileDriver(__DIR__ . '/_files', '.yml');
$this
->assertTrue($driver
->isTransient('stdClass2'));
$this
->assertFalse($driver
->isTransient('stdClass'));
}