injector = Guice.createInjector(
new PropertiesModule(), new GadgetAdminModule(), new DefaultGuiceModule(),
new OAuthModule(), new OAuth2Module(), new OAuth2PersistenceModule(), new OAuth2MessageModule(), new OAuth2HandlerModule());
ParseModule.DOMImplementationProvider domImpl =
new ParseModule.DOMImplementationProvider();
htmlParser = new CajaHtmlParser(domImpl.get());
serializer = new CajaHtmlSerializer();
ContainerConfig config = injector.getInstance(ContainerConfig.class);
config.newTransaction().addContainer(MOCK_CONTAINER_CONFIG).commit();
proxyUriManager = new DefaultProxyUriManager(config, null);
}