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.
In reply to Re: Unit Testing and adding Files
by moritz
in thread Unit Testing and adding Files
by scoobyrico
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |