spec\Crummy\Phlack\Bot\RepeaterBotSpec::it_sets_and_gets_a_callable_matcher PHP Метод

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

    public function it_sets_and_gets_a_callable_matcher()
    {
        $matcher = function (CommandInterface $command) {
            return true;
        };
        $this->setMatcher($matcher)->shouldReturn($this);
        $this->getMatcher()->shouldBeCallable();
    }