public function connect() { if (!$this->_isConnected) { $this->_isConnected = true; } return $this->_isConnected; }
public function testDisconnect() { $http = new Http($this->_testConfig); $result = $http->connect(); $this->assertTrue($result); $result = $http->disconnect(); $this->assertTrue($result); }