title: How to mock Controller RouteData with MOQ?
body: <p>My view has a file attachment as well as Captcha validation. The problem is I am using <a href="http://www.hanselman.com/blog/ASPNETMVCSessionAtMix08TDDAndMvcMockHelpers.aspx" rel="nofollow">MVCMockHelpers</a> for my file validation but it reinitializes the route data (new RouteData()) while setting the controller context. My captcha validation always fails since it is trying to get the values from RouteData. Any help on how to mock route data  is much appreciated.</p>
  
  <p>Thanks in Advance.</p>
  
  <p>Regards,</p>
  
  <p>Raja</p>