def METHOD_NAME(self):
    """
    check handling a zero result case
    """
    importer = icsd.IcsdDbImporter(server=self.server, host=self.host)
    noresults = importer.query(year='3000')  # which should work at least for the next 85 years..
    assert noresults.number_of_results == 0
    with pytest.raises(StopIteration):
        next(noresults)
    with pytest.raises(IndexError):
        noresults.at(0)