I want to create Nunit test case for ASP.NET MVC application. If the ASP.NET uses Request.QueryString or Request.Url. then the unit test case will return null reference exception since the Request.querystring will return the value if the control comes from UI only.
So can you please help on this to create a unit test for MVC controller which uses Httpcontext.Request attributes.