public function checkLogForTestPass($line) { return count(preg_grep("/({$this->passed_regex})/", array($line))) > 0; }