You are here

public function ProxyLogicTest::testNoErrorWhenSettingNonExistentProperty in Plug 7

File

lib/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);
}