connect() public method

Fake the connection since service is called for every method.
public connect ( ) : boolean
return boolean
コード例 #1
0
ファイル: HttpTest.php プロジェクト: fedeisas/lithium
 public function testDisconnect()
 {
     $http = new Http($this->_testConfig);
     $result = $http->connect();
     $this->assertTrue($result);
     $result = $http->disconnect();
     $this->assertTrue($result);
 }