public function testGetIterator() { $this->object->addQuery($this->I->createAddressSearchQuery()); $this->object->addQuery($this->I->createNameSearchQuery()); foreach ($this->object->getIterator() as $query) { $this->assertInstanceOf(SearchQuery::class, $query); } }