/** * Allows mocks to be used with tests. * * @param array $config * @return void */ function _getSocket($config) { if (empty($this->__smtpConnection)) { parent::_getSocket($config); } }