Home
last modified time | relevance | path

Searched refs:javaOptionalBinder (Results 1 – 1 of 1) sorted by relevance

/external/guice/extensions/multibindings/test/com/google/inject/multibindings/
DSpiUtils.java674 OptionalBinderBinding<?> javaOptionalBinder = null; in optionalInjectorTest() local
677javaOptionalBinder = (OptionalBinderBinding<?>) javaOptionalBinding.acceptTargetVisitor(visitor); in optionalInjectorTest()
678 assertNotNull(javaOptionalBinder); in optionalInjectorTest()
679 assertEquals(javaOptionalKey, javaOptionalBinder.getKey()); in optionalInjectorTest()
685 assertNull("did not expect a default binding", javaOptionalBinder.getDefaultBinding()); in optionalInjectorTest()
693 + javaOptionalBinder.getDefaultBinding(), in optionalInjectorTest()
694 matches(javaOptionalBinder.getDefaultBinding(), expectedDefault)); in optionalInjectorTest()
701 assertNull(javaOptionalBinder.getActualBinding()); in optionalInjectorTest()
709 + javaOptionalBinder.getActualBinding(), in optionalInjectorTest()
710 matches(javaOptionalBinder.getActualBinding(), expectedActual)); in optionalInjectorTest()
[all …]