<?php

namespace Test\Task;

use Framework\MVC\ModelManager;
use Game\Constant\ModelTypeDefine;
use Game\Model\Task\Manager\DailyChallengeTaskManager;
use Test\TestBase;

class TestDailyChallengeTask extends TestBase
{

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

    public function startTest()
    {
        /**
         * @var DailyChallengeTaskManager $dayChallengeTaskManager
         */
        $dayChallengeTaskManager = ModelManager::getInstance()->getModel(ModelTypeDefine::TASK_DAILY_CHALLENGE);
        [$taskList, $completeTaskList] = $dayChallengeTaskManager->getDailyChallengeTask();
        var_dump($taskList);
        var_dump($completeTaskList);
        $dayChallengeTaskManager->resetDailyChallengeTask();
    }
}
