Esempio n. 1
0
 function it_calls_a_positive_match_on_matcher(MatcherInterface $matcher)
 {
     $alias = 'somealias';
     $subject = 'subject';
     $arguments = array();
     $matcher->positiveMatch($alias, $subject, $arguments)->shouldBeCalled();
     $this->match($alias, $subject, $arguments);
 }
Esempio n. 2
0
 /**
  *
  * @param string $alias        	
  * @param mixed $subject        	
  * @param array $arguments        	
  *
  * @return mixed
  */
 public function match($alias, $subject, array $arguments = array())
 {
     return $this->matcher->positiveMatch($alias, $subject, $arguments);
 }