/** * @expectedException \OutOfBoundsException */ public function testRemoveNonExistingProperty() { $list = new MutableMap(); $list->remove('foo'); }