- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testPutWithSameValueFails (0.09 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java
@SuppressWarnings("JUnit4ClassUsedInJUnit3") public class BiMapPutTester<K, V> extends AbstractBiMapTester<K, V> { @MapFeature.Require(SUPPORTS_PUT) @CollectionSize.Require(ZERO) public void testPutWithSameValueFails() { getMap().put(k0(), v0()); assertThrows(IllegalArgumentException.class, () -> getMap().put(k1(), v0())); // verify that the bimap is unchanged expectAdded(e0()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 4.9K bytes - Viewed (0)