Methods

testConstructWhenFileNotExists()

testConstructWhenFileNotExists() 

testFileUploadsWithNoMimeType()

testFileUploadsWithNoMimeType() 

testFileUploadsWithUnknownMimeType()

testFileUploadsWithUnknownMimeType() 

testGuessClientExtension()

testGuessClientExtension() 

testGuessClientExtensionWithIncorrectMimeType()

testGuessClientExtensionWithIncorrectMimeType() 

testErrorIsOkByDefault()

testErrorIsOkByDefault() 

testGetClientOriginalName()

testGetClientOriginalName() 

testGetClientOriginalExtension()

testGetClientOriginalExtension() 

testMoveLocalFileIsNotAllowed()

testMoveLocalFileIsNotAllowed() 

testMoveLocalFileIsAllowedInTestMode()

testMoveLocalFileIsAllowedInTestMode() 

testGetClientOriginalNameSanitizeFilename()

testGetClientOriginalNameSanitizeFilename() 

testGetSize()

testGetSize() 

testGetExtension()

testGetExtension() 

testIsValid()

testIsValid() 

testIsInvalidOnUploadError()

testIsInvalidOnUploadError(  $error) 

Parameters

$error

uploadedFileErrorProvider()

uploadedFileErrorProvider() 

testIsInvalidIfNotHttpUpload()

testIsInvalidIfNotHttpUpload() 

setUp()

setUp()