@Test
public void valve_bad_request_exception() throws Exception {
TestValve.runnerHolder.set(new ValveRunner() {
public void run(RunData rundata, PipelineContext pipelineContext) throws Exception {
throw new BadRequestException("bad request!");
}
});
invokeServlet("/myapps/app1/test.htm");