Neos\Flow\Tests\Unit\Reflection\ClassReflectionTest::getPropertyReturnsFlowsPropertyReflection PHP Method

getPropertyReturnsFlowsPropertyReflection() public method

    public function getPropertyReturnsFlowsPropertyReflection()
    {
        $class = new ClassReflection(__CLASS__);
        $this->assertInstanceOf(PropertyReflection::class, $class->getProperty('someProperty'), 'The returned property is not of type \\Neos\\Flow\\Reflection\\PropertyReflection.');
        $this->assertEquals('someProperty', $class->getProperty('someProperty')->getName(), 'The returned property seems not to be the right one.');
    }