You are here

public function RuntimeReflectionServiceTest::testGetAccessibleProperty in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/RuntimeReflectionServiceTest.php \Doctrine\Tests\Common\Persistence\Mapping\RuntimeReflectionServiceTest::testGetAccessibleProperty()

File

vendor/doctrine/common/tests/Doctrine/Tests/Common/Persistence/Mapping/RuntimeReflectionServiceTest.php, line 75

Class

RuntimeReflectionServiceTest
@group DCOM-93

Namespace

Doctrine\Tests\Common\Persistence\Mapping

Code

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