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