I have Action method in a controller which uses RedirectToAction(actionName, routeValues[])
I want to write the unit test for action method to check the following -
1. action name
2. ViewData after executing the RedirectToAction.
Someone know how to mock it , please help.
View Complete Post