I was writing a unit test yesterday and found myself needing to mock the IRequest object. Then I found a class MockHttpRequest in the ServiceStack.Testing namespace that seemed to do exactly what I needed (and some more) - is this class “safe” to use in my own unit tests or is this class just some internal helper class for servicestacks own tests?
Yeah you can use it, hasn’t been changed for a while and don’t intend on changing/refactoring it, if IRequest gets extended I expect to be just adding properties.