How to handler-test file uploads?

In the past when I’ve done generic file uploads through a browser, it gets ring-interpreted into the `[:params :file]` path. Has anyone had success writing unit tests for the handler of such a route? Should I just write my own mock request map like:

{:params {:file {:filename "file.mp4"
		 :content-type "media/mp4"
		 :tempfile (java.io/File. "/tmp/test.mp4")}}}