I have a class derived from HttpApplication that adds some extra features. I\'m to the point where I need to unit test these features, which means I have to be able to creat
IMHO adding a functionality by extending HttpApplication is not the best thing to do. It is so difficult to mock the HttpContext because of the private/internal/sealed classes that even if you succeed your unit tests will be so cluttered with mocking code that you will no longer be able to understand what you are actually testing.
Could you give more details on what functionality you are adding? Maybe there's a better way of adding this functionality to your application.