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