must be an instance of Illuminate\\Http\\Request code example
Example: must be an instance of Illuminate\\Http\\Request
$objetoRequest = new \Illuminate\Http\Request();
$objetoRequest->setMethod('POST');
$objetoRequest->request->add([
'parametro' => 'valor',
'parametro2' => 'valor2'
]);