valid() 공개 메소드

public valid ( )
예제 #1
0
 /**
  * @test
  */
 public function shouldNotBeValidForEmptyArray()
 {
     //given
     $batchIterator = new BatchingIterator(new ArrayIterator(array()), 2);
     //when
     $valid = $batchIterator->valid();
     //then
     $this->assertFalse($valid);
 }