App\Lib\Test::getState PHP Method

getState() public method

Get the Test state based on if the test has run or passed.
public getState ( ) : boolean
return boolean
    public function getState()
    {
        return $this->passed() ? self::STATE_PASSED : ($this->ran() ? self::STATE_FAILED : self::STATE_ERROR);
    }