Searched refs:onlyPresent (Results 1 – 2 of 2) sorted by relevance
246 Iterable<String> onlyPresent = Optional.presentInstances(optionals); in testPresentInstances_callingIteratorTwice() local247 assertThat(onlyPresent).containsExactly("a", "c").inOrder(); in testPresentInstances_callingIteratorTwice()248 assertThat(onlyPresent).containsExactly("a", "c").inOrder(); in testPresentInstances_callingIteratorTwice()254 Iterable<Number> onlyPresent = Optional.presentInstances(optionals); in testPresentInstances_wildcards() local255 assertThat(onlyPresent).containsExactly(2); in testPresentInstances_wildcards()
263 Iterable<String> onlyPresent = Optional.presentInstances(optionals); in testPresentInstances_callingIteratorTwice() local264 assertThat(onlyPresent).containsExactly("a", "c").inOrder(); in testPresentInstances_callingIteratorTwice()265 assertThat(onlyPresent).containsExactly("a", "c").inOrder(); in testPresentInstances_callingIteratorTwice()271 Iterable<Number> onlyPresent = Optional.presentInstances(optionals); in testPresentInstances_wildcards() local272 assertThat(onlyPresent).containsExactly(2); in testPresentInstances_wildcards()