Searched refs:optionalJxP (Results 1 – 1 of 1) sorted by relevance
167 Optional<javax.inject.Provider<String>> optionalJxP = in testOptionalIsAbsentByDefault() local169 assertFalse(optionalJxP.isPresent()); in testOptionalIsAbsentByDefault()180 optionalJxP = toOptional(injector.getInstance(Key.get(javaOptionalOfJavaxProviderString))); in testOptionalIsAbsentByDefault()181 assertFalse(optionalJxP.isPresent()); in testOptionalIsAbsentByDefault()208 Optional<javax.inject.Provider<String>> optionalJxP = in testUsesUserBoundValue() local210 assertEquals("foo", optionalJxP.get().get()); in testUsesUserBoundValue()222 optionalJxP = toOptional(injector.getInstance(Key.get(javaOptionalOfJavaxProviderString))); in testUsesUserBoundValue()223 assertEquals("foo", optionalJxP.get().get()); in testUsesUserBoundValue()250 Optional<javax.inject.Provider<String>> optionalJxP = in testUsesUserBoundValueNullProvidersMakeAbsent() local252 assertEquals(null, optionalJxP.get().get()); in testUsesUserBoundValueNullProvidersMakeAbsent()[all …]