public function reset($cleanInput)
    {
        $this->setOutput(null);
        $this->setSkipped(false);
        $this->setException(null);
        $this->setErrorOutput(null);

        if($cleanInput) {
            $this->setInput(null);
            $this->setPreviousState(null);
        }
    }