public function ProxyLogicTest::testFetchingIdentifiersViaPublicGetterDoesNotCauseLazyLoading in Plug 7
File
- lib/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Proxy/ ProxyLogicTest.php, line 123
Class
- ProxyLogicTest
- Test the generated proxies behavior. These tests make assumptions about the structure of LazyLoadableObject
Namespace
Doctrine\Tests\Common\ProxyCode
public function testFetchingIdentifiersViaPublicGetterDoesNotCauseLazyLoading() {
$this
->configureInitializerMock(0);
$this
->assertSame('protectedIdentifierFieldValue', $this->lazyObject
->getProtectedIdentifierField());
}