public function hasOks($output)
    {
        $result = preg_match_all("%##teamcity\[testFinished%", $output);
        if ($result) {
            $this->okCount += $result;
            return $this->okCount;
        }
        return false;
    }