protected function seeError(string $error, int $status = null)
    {
        if (! is_null($status)) {
            $this->seeStatusCode($status);
        }

        if ($this->app->config->get('responder.status_code')) {
            $this->seeJson([
                'status' => $status
            ]);
        }

        return $this->seeJson([
            'success' => false
        ])->seeJsonSubset([
            'error' => [
                'code' => $error
            ]
        ]);
    }