public function remove($key) { $this->initialize($key); return parent::remove($key); }
/** * @expectedException InvalidArgumentException * @expectedExceptionMessage The map has no key named "asdfasdf". */ public function testRemoveWithUnknownIndex() { $this->map->remove('asdfasdf'); }