Home
last modified time | relevance | path

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

/external/guice/core/test/com/google/inject/internal/
DSpiUtils.java829 OptionalBinderBinding<?> javaOptionalBinder = null; in optionalInjectorTest() local
832 javaOptionalBinder = in optionalInjectorTest()
834 assertNotNull(javaOptionalBinder); in optionalInjectorTest()
835 assertEquals(javaOptionalKey, javaOptionalBinder.getKey()); in optionalInjectorTest()
841 assertNull("did not expect a default binding", javaOptionalBinder.getDefaultBinding()); in optionalInjectorTest()
855 + javaOptionalBinder.getDefaultBinding(), in optionalInjectorTest()
856 matches(javaOptionalBinder.getDefaultBinding(), expectedDefault)); in optionalInjectorTest()
863 assertNull(javaOptionalBinder.getActualBinding()); in optionalInjectorTest()
877 + javaOptionalBinder.getActualBinding(), in optionalInjectorTest()
878 matches(javaOptionalBinder.getActualBinding(), expectedActual)); in optionalInjectorTest()
[all …]