title: What is the best way to test a RedirectToAction?
body: <p>I have the following condition</p>
  
  <pre><code>if (_ldapAuthentication.IsAuthenticated (Domain, login.username, login.PassWord))
  {
      _ldapAuthentication.LogOn (indexViewModel.UserName, false);
      _authenticationService.LimpaTentativas (login.username);
      return RedirectToAction ("Index", "Main");
  }
  </code></pre>
  
  <p>being true, it redirects to another page .. what would be best to do a test?</p>