Example #1
0
 public function testTakeWhileTrue()
 {
     $fun = function () {
         return true;
     };
     $col = $this->object->takeWhile($fun);
     $this->assertNotSame($this->object, $col);
     $this->assertCount(count($this->object), $col);
 }