Scientist\Result::setMatch PHP 메소드

setMatch() 공개 메소드

Set whether the callback result matches the control.
public setMatch ( boolean $match )
$match boolean
    public function setMatch($match)
    {
        $this->match = $match;
        return $this;
    }

Usage Example

예제 #1
0
 public function test_result_can_have_match_status()
 {
     $r = new Result();
     $r->setMatch(true);
     $this->assertTrue(true, $r->isMatch());
 }