Searched refs:onlyPresent (Results 1 – 2 of 2) sorted by relevance
239 Iterable<String> onlyPresent = Optional.presentInstances(optionals); in testPresentInstances_callingIteratorTwice() local240 assertThat(onlyPresent).iteratesAs("a", "c"); in testPresentInstances_callingIteratorTwice()241 assertThat(onlyPresent).iteratesAs("a", "c"); in testPresentInstances_callingIteratorTwice()247 Iterable<Number> onlyPresent = Optional.presentInstances(optionals); in testPresentInstances_wildcards() local248 assertThat(onlyPresent).iteratesAs(2); in testPresentInstances_wildcards()
242 Iterable<String> onlyPresent = Optional.presentInstances(optionals); in testPresentInstances_callingIteratorTwice() local243 assertThat(onlyPresent).iteratesAs("a", "c"); in testPresentInstances_callingIteratorTwice()244 assertThat(onlyPresent).iteratesAs("a", "c"); in testPresentInstances_callingIteratorTwice()250 Iterable<Number> onlyPresent = Optional.presentInstances(optionals); in testPresentInstances_wildcards() local251 assertThat(onlyPresent).iteratesAs(2); in testPresentInstances_wildcards()