You are here

public function ProxyLogicTest::testFalseWhenCheckingNonExistentProperty in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Proxy/ProxyLogicTest.php \Doctrine\Tests\Common\Proxy\ProxyLogicTest::testFalseWhenCheckingNonExistentProperty()

File

vendor/doctrine/common/tests/Doctrine/Tests/Common/Proxy/ProxyLogicTest.php, line 217

Class

ProxyLogicTest
Test the generated proxies behavior. These tests make assumptions about the structure of LazyLoadableObject

Namespace

Doctrine\Tests\Common\Proxy

Code

public function testFalseWhenCheckingNonExistentProperty() {
  $this
    ->configureInitializerMock(0);
  $this
    ->assertFalse(isset($this->lazyObject->non_existing_property));
}