/** * Test array conversion. */ public function testToArray() { $reflectedMethod = new MethodReflection('TRex\\Reflection\\resources\\Foo', 'getFoo'); $this->assertSame(array(), $reflectedMethod->toArray()); }