public function testConnection() { // Connect $this->c->connect(); $this->assertTrue($this->c->isConnected()); // Disconnect $this->c->close(); $this->assertFalse($this->c->isConnected()); }