Neos\Flow\Tests\Unit\Reflection\PropertyReflectionTest::getValueReturnsValueOfAPublicProperty PHP 메소드

getValueReturnsValueOfAPublicProperty() 공개 메소드

    public function getValueReturnsValueOfAPublicProperty()
    {
        $reflectionProperty = new Reflection\PropertyReflection(__CLASS__, 'publicProperty');
        $this->assertEquals('I\'m public', $reflectionProperty->getValue($this), 'ReflectionProperty->getValue($this) did not return the value of a public property.');
    }