MapBinderTest.java | 175 Module de = new AbstractModule() { local 184 Injector injector = Guice.createInjector(abc, de); 188 assertMapVisitor(Key.get(mapOfString), stringType, stringType, setOf(abc, de), BOTH, false, 0, 258 binder(), String.class, String.class, named("de")); 267 Key<Map<String, String>> deKey = Key.get(mapOfString, named("de")); 268 Map<String, String> de = injector.getInstance(deKey); local 270 assertEquals(mapOf("d", "D", "e", "E"), de); 279 injector.getInstance(Key.get(mapOfStringProvider, named("de"))); 280 injector.getInstance(Key.get(mapOfStringJavaxProvider, named("de"))); 293 binder(), String.class, String.class, De.class) 303 Map<String, String> de = injector.getInstance(deKey); local [all...] |