Пример #1
0
 /**
  * Test isConnected
  *
  * @return void
  */
 public function testIsConnected()
 {
     $this->Dbo->disconnect();
     $this->assertFalse($this->Dbo->isConnected(), 'Not connected now.');
     $this->Dbo->connect();
     $this->assertTrue($this->Dbo->isConnected(), 'Should be connected.');
 }