Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCount_nullPresent (0.58 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetCountTester.java

        assertThrows(NullPointerException.class, () -> getMultiset().count(null));
      }
    
      @CollectionSize.Require(absent = ZERO)
      @CollectionFeature.Require(ALLOWS_NULL_VALUES)
      public void testCount_nullPresent() {
        initCollectionWithNullElement();
        assertEquals(1, getMultiset().count(null));
      }
    
      public void testCount_wrongType() {
        assertEquals(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top