This requires some pointers. Found this one and this one , but I'm still confused.
I just want to mock the ActionExecutedContext, pass it on, let the filter work a bit and check the result.
Any help?
You can find the filter source here.
(it has changed a little, but that is not the point at the moment).
So, I want to unit test that the RememberUrl filter is smart enough to keep the current URL in the session.
asp.net-mvc testing action-filter
Arnis Lapsa Jun 29 '09 at 11:14 2009-06-29 11:14
source share