Need some pointers for this. Found this and this, but I'm still kind a confused.
I just want to mock ActionExecutedContext, pass it, let filter to work a bit and check result.
Any help?
Source of filter you can find here
(it's changed a bit, but that's not a point at the moment).
So - i want unit test, that RememberUrl filter is smart enough to save current URL in session.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…