public function ProxyClassGeneratorTest::testProxyRespectsMethodsWhichReturnValuesByReference in Plug 7
File
- lib/doctrine/common/tests/Doctrine/Tests/Common/Proxy/ProxyClassGeneratorTest.php, line 76
Class
- ProxyClassGeneratorTest
- Test the proxy generator. Its work is generating on-the-fly subclasses of a given model, which implement the Proxy
pattern.
Namespace
Doctrine\Tests\Common\Proxy
Code
public function testProxyRespectsMethodsWhichReturnValuesByReference() {
$method = new ReflectionMethod($this->proxyClass, 'byRefMethod');
$this
->assertTrue($method
->returnsReference());
}