in reply to Unit Testing and adding Files

The model shouldn't have to know about where a file comes from.

The model has an API, and you should use that to test it.

Think of the model as being independent from the web front end - ideally it should be.