- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testToOptionalMultipleWithNull (0.15 seconds)
-
android/guava-tests/test/com/google/common/collect/MoreCollectorsTest.java
assertThrows(IllegalArgumentException.class, () -> Stream.of(1, 2).collect(toOptional())); assertThat(expected).hasMessageThat().contains("1, 2"); } public void testToOptionalMultipleWithNull() { assertThrows(NullPointerException.class, () -> Stream.of(1, null).collect(toOptional())); } public void testToOptionalMany() { IllegalArgumentException expected = assertThrows(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu May 15 21:47:56 GMT 2025 - 3.2K bytes - Click Count (0)