must be an instance of Illuminate\Http\UploadedFile, string given, 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'
]);