Searched refs:mapbinder (Results 1 – 2 of 2) sorted by relevance
135 MapBinderBinding<T> mapbinder = (MapBinderBinding<T>)mapBinding.acceptTargetVisitor(visitor); in mapInjectorTest() local136 assertNotNull(mapbinder); in mapInjectorTest()137 assertEquals(keyType, mapbinder.getKeyTypeLiteral()); in mapInjectorTest()138 assertEquals(valueType, mapbinder.getValueTypeLiteral()); in mapInjectorTest()139 assertEquals(allowDuplicates, mapbinder.permitsDuplicates()); in mapInjectorTest()140 List<Map.Entry<?, Binding<?>>> entries = Lists.newArrayList(mapbinder.getEntries()); in mapInjectorTest()159 mapbinder.containsElement(found.getValue())); in mapInjectorTest()191 boolean contains = mapbinder.containsElement(b); in mapInjectorTest()194 if(visited.equals(mapbinder)) { in mapInjectorTest()264 MapBinderBinding<T> mapbinder = null; in mapModuleTest() local[all …]
411 MapBinder<String, Object> mapbinder = in testExhaustiveDuplicateErrorMessage() local413 mapbinder.addBinding("a").to(String.class); in testExhaustiveDuplicateErrorMessage()418 MapBinder<String, Object> mapbinder = in testExhaustiveDuplicateErrorMessage() local420 mapbinder.addBinding("a").to(Integer.class); in testExhaustiveDuplicateErrorMessage()421 mapbinder.addBinding("b").to(String.class); in testExhaustiveDuplicateErrorMessage()426 MapBinder<String, Object> mapbinder = in testExhaustiveDuplicateErrorMessage() local428 mapbinder.addBinding("b").to(Integer.class); in testExhaustiveDuplicateErrorMessage()798 MapBinder<String, String> mapbinder = in testDeduplicateMapBindings()800 mapbinder.addBinding("a").toInstance("A"); in testDeduplicateMapBindings()801 mapbinder.addBinding("a").toInstance("A"); in testDeduplicateMapBindings()[all …]