Injector injector = Guice.createInjector();
converter = new BeanJsonConverter(injector);
HttpRequestHandler handler = new HttpRequestHandler(pipeline, rewriterRegistry);
registry = new DefaultHandlerRegistry(injector, converter,
new HandlerExecutionListener.NoOpHandler());
registry.addHandlers(ImmutableSet.<Object>of(handler));
builder = new HttpResponseBuilder().setResponseString("CONTENT");
emptyFormItems = Collections.emptyMap();
}