/** * @test */ public function getConstructorReturnsFlowsMethodReflection() { $class = new \TYPO3\Flow\Reflection\ClassReflection(__CLASS__); $constructor = $class->getConstructor(); $this->assertInstanceOf(\TYPO3\Flow\Reflection\MethodReflection::class, $constructor, 'The returned method is not of type \\TYPO3\\Flow\\Reflection\\MethodReflection.'); }