assertEquals("hello!", clientResponseContent.trim()); // text from valve
}
@Test
public void requestContextFailed() throws Exception {
requestContextFactoryHolder.set(new AbstractRequestContextFactory() {
@Override
public RequestContext getRequestContextWrapper(RequestContext wrappedContext) {
throw new IllegalArgumentException("ouch!");
}