/** * @test * @author Robert Lemke <*****@*****.**> */ public function getPropertyReturnsFLOW3sPropertyReflection() { $class = new \F3\FLOW3\Reflection\ClassReflection(__CLASS__); $this->assertType('F3\\FLOW3\\Reflection\\PropertyReflection', $class->getProperty('someProperty'), 'The returned property is not of type \\F3\\FLOW3\\Reflection\\PropertyReflection.'); $this->assertEquals('someProperty', $class->getProperty('someProperty')->getName(), 'The returned property seems not to be the right one.'); }