public function testReconnecting() { $id = $this->conn->execute("SELECT CONNECTION_ID()")->scalar(); // force a re-connect $this->conn->connect(); $this->assertNotEquals($id, $this->conn->execute("SELECT CONNECTION_ID()")->scalar()); }