Example #1
0
 /**
  * setIndex() should throw an InvalidArgumentException if $index is a negative
  *     integer
  */
 public function testSetIndex_throwsInvalidArgumentException_ifIndexIsNegativeInteger()
 {
     $this->setExpectedException('InvalidArgumentException');
     $chunker = new File();
     $chunker->setIndex(-1);
     return;
 }