public function calling_next_after_closing_collection_raises_exception() { $c = new MockCollection('~'); $c->open(); $c->close(); $c->next(); }