Example #1
0
 /**
  * @dataProvider arraySet1
  */
 public function testSlice($array)
 {
     $a = new ArrayObject($array);
     $a->slice(0, 1);
     $array = array_slice($array, 0, 1, true);
     $this->assertSame($array, $a->val());
 }