function it_calls_a_negative_match_on_matcher(Matcher $matcher) { $alias = 'somealias'; $subject = 'subject'; $arguments = array(); $matcher->negativeMatch($alias, $subject, $arguments)->shouldBeCalled(); $this->match($alias, $subject, $arguments); }
/** * @param string $alias * @param mixed $subject * @param array $arguments * * @return mixed */ public function match($alias, $subject, array $arguments = array()) { return $this->matcher->negativeMatch($alias, $subject, $arguments); }