- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testAsListSet (0.06 sec)
-
guava-tests/test/com/google/common/primitives/BooleansTest.java
assertThat(Booleans.asList(ARRAY_FALSE).toString()).isEqualTo("[false]"); assertThat(Booleans.asList(ARRAY_FALSE_TRUE).toString()).isEqualTo("[false, true]"); } public void testAsListSet() { List<Boolean> list = Booleans.asList(ARRAY_FALSE); assertThat(list.set(0, true)).isFalse(); assertThat(list.set(0, false)).isTrue(); assertThrows(NullPointerException.class, () -> list.set(0, null));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 24.8K bytes - Viewed (0)