protected function assertSee($text, $message, $negate = false)
    {
        try {
            $text = preg_quote($text, '/');
            $method = $negate ? 'assertNotRegExp' : 'assertRegExp';

            $this->$method("/{$text}/i", $this->response(), $message);
        } catch (PHPUnitException $e) {
            $this->logLatestContent();

            throw $e;
        }

        return $this;
    }