connect() public method

Fake the connection since service is called for every method.
public connect ( ) : boolean
return boolean
Beispiel #1
0
 public function testDisconnect()
 {
     $http = new Http($this->_testConfig);
     $result = $http->connect();
     $this->assertTrue($result);
     $result = $http->disconnect();
     $this->assertTrue($result);
 }