public function testGuessClientExtension() { $file =
new UploadedFile( __DIR__.'/Fixtures/test.gif',
'original.gif',
'image/gif',
null
);
$this->
assertEquals('gif',
$file->
guessClientExtension());
} public function testGuessClientExtensionWithIncorrectMimeType() { $file =
new UploadedFile( __DIR__.'/Fixtures/test.gif',
'original.gif',
'image/png',
null
);