Example #1
0
 /**
  * @dataProvider simpleArrayProvider
  */
 public function testNext(array $array)
 {
     $ma = new ImmutableArray($array);
     $next = next($array);
     $this->assertTrue($next === $ma->next());
 }