Exemplo n.º 1
0
Arquivo: ATest.php Projeto: ihor/Nspl
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testFirstForEmptyIterator()
 {
     first(new \ArrayIterator([]));
 }
Exemplo n.º 2
0
 /**
  * @expectedException \InvalidArgumentException
  */
 public function testFirstForEmptyList()
 {
     first([]);
 }