/** * @expectedException \OutOfBoundsException */ public function testRemovingNonExistentEntryReturnsNull() { $this->coll->remove('testing_does_not_exist'); }
/** * Unregister a service * @param string $name The service name * @return $this */ public function unregisterService($name) { $this->services->remove($name); return $this; }