- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for CollectionIsEmptyTruth (0.11 sec)
-
guava-tests/test/com/google/common/primitives/BooleansTest.java
public void testToArray_withNull() { List<@Nullable Boolean> list = Arrays.asList(false, true, null); assertThrows(NullPointerException.class, () -> Booleans.toArray(list)); } @SuppressWarnings({"CollectionIsEmptyTruth", "CollectionIsNotEmptyTruth"}) public void testAsListIsEmpty() { assertThat(Booleans.asList(EMPTY).isEmpty()).isTrue(); assertThat(Booleans.asList(ARRAY_FALSE).isEmpty()).isFalse(); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 24.8K bytes - Viewed (0)