PHP Класс spec\Crummy\Phlack\Bot\RepeaterBotSpec

Наследование: extends PhpSpec\ObjectBehavior
Показать файл Открыть проект

Открытые методы

Метод Описание
it_does_not_strip_multiple_occurrences ( WebHook $command )
it_does_not_strip_the_first_word_if_not_the_command ( WebHook $command )
it_does_the_repeater ( WebHook $command )
it_fails_to_set_an_invalid_matcher ( )
it_is_a_repeater_bot ( )
it_sets_and_gets_a_callable_matcher ( )
it_sets_and_gets_a_matcher ( NonMatcher $matcher )
it_strips_the_command_from_the_webhook_text ( WebHook $command )

Описание методов

it_does_not_strip_multiple_occurrences() публичный Метод

public it_does_not_strip_multiple_occurrences ( WebHook $command )
$command Crummy\Phlack\WebHook\WebHook

it_does_not_strip_the_first_word_if_not_the_command() публичный Метод

public it_does_not_strip_the_first_word_if_not_the_command ( WebHook $command )
$command Crummy\Phlack\WebHook\WebHook

it_does_the_repeater() публичный Метод

public it_does_the_repeater ( WebHook $command )
$command Crummy\Phlack\WebHook\WebHook

it_fails_to_set_an_invalid_matcher() публичный Метод

it_is_a_repeater_bot() публичный Метод

it_sets_and_gets_a_callable_matcher() публичный Метод

it_sets_and_gets_a_matcher() публичный Метод

public it_sets_and_gets_a_matcher ( NonMatcher $matcher )
$matcher Crummy\Phlack\Common\Matcher\NonMatcher

it_strips_the_command_from_the_webhook_text() публичный Метод

public it_strips_the_command_from_the_webhook_text ( WebHook $command )
$command Crummy\Phlack\WebHook\WebHook