You are here

public function ProxyLogicTest::testLoadProxyMethod in Plug 7

Provided to guarantee backwards compatibility

File

lib/doctrine/common/tests/Doctrine/Tests/Common/Proxy/ProxyLogicTest.php, line 278

Class

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

Namespace

Doctrine\Tests\Common\Proxy

Code

public function testLoadProxyMethod() {
  $this
    ->configureInitializerMock(2, array(
    $this->lazyObject,
    '__load',
    array(),
  ));
  $this->lazyObject
    ->__load();
  $this->lazyObject
    ->__load();
}