title: How to Unit Test HtmlHelper with Moq?
body: <p>Could somebody show me how you would go about creating a mock HTML Helper with Moq?</p>
  
  <p>This <a href="http://dotnetkicks.com/aspnet/Mocking_ASP_NET_MVC_HtmlHelper_using_Moq" rel="noreferrer">article</a> has a link to an article claiming to describe this, but following the link only returns an ASP.NET Runtime Error</p>
  
  <p><strong>[edit]</strong>
  I asked a more specific question related to the same subject <a href="https://stackoverflow.com/questions/2485341/how-to-unit-test-htmlhelper-similar-to-usinghtml-beginform">here</a>, but it hasn't gotten any responses. I figured it was too specific, so I thought I could get a more general answer to a more general question and modify it to meet my requirements.</p>
  
  <p>Thanks</p>