- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for testRemove_nullForbidden (0.13 sec)
-
android/guava-testlib/src/com/google/common/collect/testing/google/MultisetRemoveTester.java
public void testRemove_nullAbsent() { assertEquals(0, getMultiset().remove(null, 2)); } @CollectionFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_QUERIES) public void testRemove_nullForbidden() { assertThrows(NullPointerException.class, () -> getMultiset().remove(null, 2)); } @CollectionSize.Require(SEVERAL) @CollectionFeature.Require(SUPPORTS_REMOVE)
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 6.9K bytes - Viewed (0)