public function shouldCameOutOrdered() { $lastKey = null; foreach ($this->createFromArray(range(1, 50)) as $key => $value) { if ($lastKey) { $this->assertLessThanOrEqual($key, $lastKey); } $lastKey = $key; } }