public 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();
}