public function RuntimeReflectionServiceTest::testGetAccessibleProperty in Plug 7
File
- lib/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Persistence/ Mapping/ RuntimeReflectionServiceTest.php, line 75
Class
- RuntimeReflectionServiceTest
- @group DCOM-93
Namespace
Doctrine\Tests\Common\Persistence\MappingCode
public function testGetAccessibleProperty() {
$reflProp = $this->reflectionService
->getAccessibleProperty(__CLASS__, "reflectionService");
$this
->assertInstanceOf("ReflectionProperty", $reflProp);
$reflProp = $this->reflectionService
->getAccessibleProperty(__CLASS__, "unusedPublicProperty");
$this
->assertInstanceOf("Doctrine\\Common\\Reflection\\RuntimePublicReflectionProperty", $reflProp);
}