Longman\TelegramBot\Tests\Unit\TelegramTest::setUp PHP Метод

setUp() защищенный Метод

setUp
protected setUp ( )
    protected function setUp()
    {
        $this->telegram = new Telegram('apikey', 'testbot');
        // Create a few dummy custom commands paths.
        foreach ($this->custom_commands_paths as $custom_path) {
            mkdir($custom_path);
        }
    }