public function canDoOnlineTest()
{
if (!($fp = @stream_socket_client('tcp://mxr.mozilla.org:80', $errNo, $errStr, 1))) {
$this->markTestSkipped('Could not reach mxr.mozilla.org for online test.');
}
MozillaCertData::$allowOnlineTest = true;
fclose($fp);
}