Extends
lithium\test\UnitSource
protected function _canConnect($host, $port) {
$this->expectException();
$this->expectException();
if ($conn = fsockopen($host, $port)) {
array_pop($this->_expected);
array_pop($this->_expected);
fclose($conn);
return true;
}
return false;
}