<?php

namespace Test\DrivingPermit;

use Game\Logic\AccountLogic;
use Game\Logic\CarLogic;
use Test\TestBase;

class TestDrivingPermit extends TestBase
{
    use CarLogic;
    use AccountLogic;

    public function getPlayerId(): int
    {
        return 288459802080396412;
    }

    public function startTest()
    {
        //获取车辆使用次数
        $accountData = $this->searchPlayerInfo($this->getPlayerId());
        var_dump($accountData);

        $this->recordCarUseNum(1031);

        $accountData = $this->searchPlayerInfo($this->getPlayerId());
        var_dump($accountData);
    }
}
