Unit Testing ASP.Net MVC Action result with call to Server.UrlDecode -


We are trying to write unit tests in our ASP.NET MVC project.

Server.UrlDecode to call in some methods controller

This unit is called from the test when a redundant reference fails with the exception.

Does anyone have a solution for this?

Use the static HttpUtility class and its UrlDecode method.

  HttpUtility.UrlDecode (mystring);  

Comments

Popular posts from this blog

objective c - iPhone and it's wireless area -

unix - Listing all shared memory segments used by a process on AIX5.3+ -

tsql - Correct sql/hql query (aggregate in where clause) -