RajOpteamix / moq

Automatically exported from code.google.com/p/moq
Other
0 stars 0 forks source link

I want to mock Url.Action in mvc it always provides me null #368

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Set a string property with URL.Action in a method
2.while testing the method, url.action gives me null
3.How to fix this that it provides me the url string.

My purpose it that I need to verify the url string as it is changing 
conditionally

Thanks

vindu

Original issue reported on code.google.com by vins.p...@gmail.com on 31 Aug 2013 at 10:10