function testIntegratedQueryPack() { $junk = new qinq\Collection([false, 0, false, '0', 'hello']); $matches = ['hello']; foreach ($junk->pack() as $item) { $match = array_shift($matches); $this->assertEquals($match, $item); } }