/**
  * @dataProvider nonOkErrorStatus
  */
 public function testConstructorDoesNotRaiseExceptionForInvalidStreamWhenErrorStatusPresent($status)
 {
     $uploadedFile = new UploadedFile('not ok', 0, $status);
     $this->assertSame($status, $uploadedFile->getError());
 }