Longman\TelegramBot\Tests\Unit\Commands\UserCommands\HelpCommandTest::testHelpCommandExecuteWithParameterInvalidCommand PHP Method

testHelpCommandExecuteWithParameterInvalidCommand() public method

    public function testHelpCommandExecuteWithParameterInvalidCommand()
    {
        $text = $this->command->setUpdate(TestHelpers::getFakeUpdateCommandObject('/help invalidcommand'))->execute()->getResult()->getText();
        $this->assertEquals('No help available: Command /invalidcommand not found', $text);
    }