- Sort Score
- Num 10 results
- Language All
Results 1 - 1 of 1 for testImmutableEntry (0.1 seconds)
-
android/guava-tests/test/com/google/common/collect/MapsTest.java
Entry<Integer, String> entry2 = (Entry<Integer, String>) entries.toArray()[0]; assertThrows(UnsupportedOperationException.class, () -> entry2.setValue("four")); } public void testImmutableEntry() { Entry<String, Integer> e = immutableEntry("foo", 1); assertThat(e.getKey()).isEqualTo("foo"); assertEquals(1, (int) e.getValue());
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 63.2K bytes - Click Count (0)