title: Why is Controller.View returning null?
body: <p>I'm unit testing someone else's ASP.Net MVC4 Controller action method. Its last line is:</p>
  
  <pre><code>return this.View("ConfirmAddress", addressModel);
  </code></pre>
  
  <p>This returns <code>null</code> in my unit test. The <a href="http://msdn.microsoft.com/en-us/library/dd460310%28v=vs.108%29.aspx" rel="nofollow">Controller.View documentation</a> says the first parameter is a view name but I can't step into this method to find out why <code>null</code> is returned. A <code>ConfirmAddress.cshtml</code> exists in the Views folder but there's also a <code>ConfirmAddress(AddressModel am)</code> action in the controller.</p>
  
  <p>Can anyone tell from this what it should be doing (e.g. perhaps use <code>RedirectToAction</code> instead???) Have tried to keep this short but could provide more info if needed...</p>