I am trying to write a unit test where in my solution I added to my appdata folder a pdf file. I have the following method in my MVC project and I need to see an example of using Rhino Mock to test the file upload. I also want to make sure that I don't have to hardcode a physical path such as "C:\Project\AppData" as each user may have a different working folder path. Just want to use the pathing within the solution I guess to the appdata folder sample.pdf file. Thanks all below is the method params coming in the controller.
public ActionResult FileUpload(IEnumerable<HttpPostedFileBase> files, string library, string folder)