Mocking HtmlHelper throws NullReferenceException
- by Matt Austin
I know that there are a few questions on StackOverflow on this topic but I haven't been able to get any of the suggestions to work for me. I've been banging my head against this for two days now so its time to ask for help...
The following code snippit is a simplified unit test to demonstrate what I'm trying to do, which is basically call…