/** * @test */ public function getMethodsReturnsArrayWithNumericIndex() { $class = new \TYPO3\Flow\Reflection\ClassReflection(__CLASS__); $methods = $class->getMethods(); foreach (array_keys($methods) as $key) { $this->assertInternalType('integer', $key, 'The index was not an integer.'); } }