Searched refs:presentInstances (Results 1 – 3 of 3) sorted by relevance
221 assertThat(Optional.presentInstances(optionals)).iteratesAs("a", "b", "c"); in testPresentInstances_allPresent()227 assertThat(Optional.presentInstances(optionals)).isEmpty(); in testPresentInstances_allAbsent()233 assertThat(Optional.presentInstances(optionals)).iteratesAs("a", "c"); in testPresentInstances_somePresent()239 Iterable<String> onlyPresent = Optional.presentInstances(optionals); in testPresentInstances_callingIteratorTwice()247 Iterable<Number> onlyPresent = Optional.presentInstances(optionals); in testPresentInstances_wildcards()
224 assertThat(Optional.presentInstances(optionals)).iteratesAs("a", "b", "c"); in testPresentInstances_allPresent()230 assertThat(Optional.presentInstances(optionals)).isEmpty(); in testPresentInstances_allAbsent()236 assertThat(Optional.presentInstances(optionals)).iteratesAs("a", "c"); in testPresentInstances_somePresent()242 Iterable<String> onlyPresent = Optional.presentInstances(optionals); in testPresentInstances_callingIteratorTwice()250 Iterable<Number> onlyPresent = Optional.presentInstances(optionals); in testPresentInstances_wildcards()
216 public static <T> Iterable<T> presentInstances( in presentInstances() method in Optional