How to mock UploadedFile class with phpspec