Pheasant\Tests\ConnectionTest::testReconnecting PHP Метод

testReconnecting() публичный Метод

public testReconnecting ( )
    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());
    }