function testIntegratedQueryValues() { $numbers = new qinq\Collection(['animal' => 1, 'item' => 2, 'bob' => 3, 'cat' => 4]); $matches = range(1, 4); foreach ($numbers->values() as $number) { $match = array_shift($matches); $this->assertEquals($match, $number); } }