Esempio n. 1
0
 public function testConnection()
 {
     try {
         $transport = new Simples_Transport_Http();
         $transport->connect();
         $this->assertTrue($transport->connected());
         $this->assertTrue($transport instanceof Simples_Transport_Http);
         $transport->disconnect();
         $this->assertFalse($transport->connected());
     } catch (Exception $e) {
         $this->markTestSkipped($e->getMessage());
     }
 }