Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testCreateEmptyWithoutClassFails (0.16 sec)

  1. guava-tests/test/com/google/common/collect/EnumMultisetTest.java

      }
    
      public void testCreateEmptyWithClass() {
        Multiset<Color> ms = EnumMultiset.create(ImmutableList.<Color>of(), Color.class);
        ms.add(Color.RED);
      }
    
      public void testCreateEmptyWithoutClassFails() {
        assertThrows(
            IllegalArgumentException.class, () -> EnumMultiset.create(ImmutableList.<Color>of()));
      }
    
      public void testToString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 15 17:36:06 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top