public function isWorking()
    {
        if (null != $this->exception) {
            return false;
        }

        foreach ($this->getTests() as $test) {
            if ($test->hasFailed()) {
                $this->exception = new \Exception('Tests failed');
                return false;
            }
        }

        return true;
    }