Longman\TelegramBot\Tests\Unit\Commands\UserCommands\HelpCommandTest::testHelpCommandExecuteWithParameterValidCommand PHP 메소드

testHelpCommandExecuteWithParameterValidCommand() 공개 메소드

    public function testHelpCommandExecuteWithParameterValidCommand()
    {
        $text = $this->command->setUpdate(TestHelpers::getFakeUpdateCommandObject('/help echo'))->execute()->getResult()->getText();
        $this->assertContains("Description: Show text\nUsage: /echo <text>", $text);
    }