/** * Unregisters a mock. * * @param Mock $mock The mock. */ public function unregister(Mock $mock) { unset($this->mocks[$mock->getFQFN()]); }