PHPSpec\Matcher\Matcher::negativeMatch PHP 메소드

negativeMatch() 공개 메소드

Evaluates negative match.
public negativeMatch ( string $name, mixed $subject, array $arguments )
$name string
$subject mixed
$arguments array
    public function negativeMatch($name, $subject, array $arguments);

Usage Example

예제 #1
0
 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);
 }
All Usage Examples Of PHPSpec\Matcher\Matcher::negativeMatch