public function getVersion() { return $this->_connection->getAttribute(PDO::ATTR_SERVER_VERSION); }
/** * Tests that getVersion method sends the correct query for getting the mysql version * @return void */ public function testGetVersion() { $version = $this->Dbo->getVersion(); $this->assertTrue(is_string($version)); }