ph-ms

Results 3 comments of ph-ms

I might unprocessed() to be able to serve static content, yes. Others might want a callback API so they can participate programmatically in situations where an endpoint wasn't mocked. I.e....

For the first one will the args passed in to `.willReturn(...)` have an ability to determine the URL/verb sought? I was imagining that the `unprocessed(..)` would not have a corresponding...

The dynamic case needs to be made .unMatched(request().get("*.html")).willReturn(letMeGetThatForYou()) - how does letMeGetThatForYou() know what URL was being sought in order to (say) .getReasourceAsStream(resourceName) it? Like so: .unMatched(myCapturingMatcher()).willReturn(letMeGetThatForYouUsingSomethingCapturedOnShockHorrorThreadLocal())