Example #1
0
 function testIntegratedQueryExcept()
 {
     $numbers = new qinq\Collection(range(1, 4));
     $matches = [1, 4];
     foreach ($numbers->except([2, 3]) as $number) {
         $match = array_shift($matches);
         $this->assertEquals($match, $number);
     }
 }