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