Integration testing a file upload controller

What is the correct way to test a controller that takes file uploads and stores them locally? This controller interacts with the file system, so how does one test whether the file gets copied to the correct file path ect?