public function ProxyClassGeneratorTest::testCreatesAssociationProxyAsSubclassOfTheOriginalOne in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Proxy/ProxyClassGeneratorTest.php \Doctrine\Tests\Common\Proxy\ProxyClassGeneratorTest::testCreatesAssociationProxyAsSubclassOfTheOriginalOne()
File
- vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Proxy/ ProxyClassGeneratorTest.php, line 93
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\ProxyCode
public function testCreatesAssociationProxyAsSubclassOfTheOriginalOne() {
$this
->assertTrue(is_subclass_of($this->proxyClass, $this->metadata
->getName()));
}