Searched refs:mapbinder (Results 1 – 2 of 2) sorted by relevance
156 MapBinderBinding<T> mapbinder = (MapBinderBinding<T>) mapBinding.acceptTargetVisitor(visitor); in mapInjectorTest() local157 assertNotNull(mapbinder); in mapInjectorTest()158 assertEquals(keyType, mapbinder.getKeyTypeLiteral()); in mapInjectorTest()159 assertEquals(valueType, mapbinder.getValueTypeLiteral()); in mapInjectorTest()160 assertEquals(allowDuplicates, mapbinder.permitsDuplicates()); in mapInjectorTest()161 List<Map.Entry<?, Binding<?>>> entries = Lists.newArrayList(mapbinder.getEntries()); in mapInjectorTest()183 mapbinder.containsElement(found.getValue())); in mapInjectorTest()225 boolean contains = mapbinder.containsElement(b); in mapInjectorTest()228 if (visited.equals(mapbinder)) { in mapInjectorTest()324 MapBinderBinding<T> mapbinder = null; in mapModuleTest() local[all …]
553 MapBinder<String, Object> mapbinder = in testExhaustiveDuplicateErrorMessage() local555 mapbinder.addBinding("a").to(String.class); in testExhaustiveDuplicateErrorMessage()561 MapBinder<String, Object> mapbinder = in testExhaustiveDuplicateErrorMessage() local563 mapbinder.addBinding("a").to(Integer.class); in testExhaustiveDuplicateErrorMessage()564 mapbinder.addBinding("b").to(String.class); in testExhaustiveDuplicateErrorMessage()570 MapBinder<String, Object> mapbinder = in testExhaustiveDuplicateErrorMessage() local572 mapbinder.addBinding("b").to(Integer.class); in testExhaustiveDuplicateErrorMessage()1084 MapBinder<String, String> mapbinder = in testDeduplicateMapBindings()1086 mapbinder.addBinding("a").toInstance("A"); in testDeduplicateMapBindings()1087 mapbinder.addBinding("a").toInstance("A"); in testDeduplicateMapBindings()[all …]