/** * @test */ public function getPropertiesReturnsFlowsPropertyReflection() { $class = new \TYPO3\Flow\Reflection\ClassReflection(__CLASS__); $properties = $class->getProperties(); $this->assertTrue(is_array($properties), 'The returned value is no array.'); $this->assertInstanceOf(\TYPO3\Flow\Reflection\PropertyReflection::class, array_pop($properties), 'The returned properties are not of type \\TYPO3\\Flow\\Reflection\\PropertyReflection.'); }