/** * @dataProvider arraySet1 */ public function testReverse($array) { $a = new ArrayObject($array); $a->reverse(); $array = array_reverse($array); $this->assertSame($array, $a->val()); }