You are here

public function ProxyLogicTest::testNoErrorWhenSettingNonExistentProperty in Zircon Profile 8.0

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

File

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

Class

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

Namespace

Doctrine\Tests\Common\Proxy

Code

public function testNoErrorWhenSettingNonExistentProperty() {
  $this
    ->configureInitializerMock(0);
  $this->lazyObject->non_existing_property = 'now has a value';
  $this
    ->assertSame('now has a value', $this->lazyObject->non_existing_property);
}