464748495051525354
@Override protected Injector getInjector() { log.debug("Creating servlet injector.."); Injector injector = Guice.createInjector(new TestListingModule(), new ListingServletModule()); log.debug("Servlet injector created"); return injector; }
32333435363738
static final String listingId1 = "listing1"; static final String listingId2 = "listing2"; @Override protected void addModules(List<Module> modules) { modules.add(new TestListingModule()); }