Oh yeah, the good old HttpContext :D The solution I've found was to
wrap everything exposed via HttpContext into an wrapper that also
implements an interface that has the same API as the wrapped type.
Thus, I'm free to mock away most of the annoying bits and pieces of
ASP.NET. Using R#, this took me about an hour or so. And so far, it
works quite well for control development.

You can check out an example here:
https://svn.re-motion.org/svn/Remotion/trunk/Remotion/Web/Core/Infrastructure/

Michael
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Rhino.Mocks" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rhinomocks?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to