public function getState() { return $this->passed() ? self::STATE_PASSED : ($this->ran() ? self::STATE_FAILED : self::STATE_ERROR); }