public function testImportWithArray() { $this->object->import(array(1, 2, 3)); $this->assertEquals(array(1, 2, 3), iterator_to_array($this->object)); }