I have a component in Business Library which only work when the request comes from IIS (not even request from Visual Studio running on IIS) so I dont have issues when my web application invokes that component but I wanted to write Unit test for the business Library, So now how do I make my MS Test project behave as web application on IIS.
I can't do exception here because those exception are very specific to the Component and stack trace is not helpful.