PHP Class spec\Crummy\Phlack\Common\Matcher\CommandNameMatcherSpec

Inheritance: extends PhpSpec\ObjectBehavior
Show file Open project: mcrumm/phlack

Public Methods

Method Description
it_does_not_match_unmatched_names ( SlashCommand $command )
it_is_a_matcher ( )
it_matches_a_SlashCommand_by_name ( SlashCommand $command )
it_matches_a_WebHook_by_name ( WebHook $command )
it_sets_command_name ( )

Method Details

it_does_not_match_unmatched_names() public method

public it_does_not_match_unmatched_names ( SlashCommand $command )
$command Crummy\Phlack\WebHook\SlashCommand

it_is_a_matcher() public method

public it_is_a_matcher ( )

it_matches_a_SlashCommand_by_name() public method

public it_matches_a_SlashCommand_by_name ( SlashCommand $command )
$command Crummy\Phlack\WebHook\SlashCommand

it_matches_a_WebHook_by_name() public method

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

it_sets_command_name() public method