Class MultisetCountTester<E>

All Implemented Interfaces:
junit.framework.Test

public class MultisetCountTester<E> extends AbstractMultisetTester<E>
Tests for Multiset#count.
  • Constructor Details

    • MultisetCountTester

      public MultisetCountTester()
  • Method Details

    • testCount_0

      public void testCount_0()
    • testCount_1

      public void testCount_1()
    • testCount_3

      public void testCount_3()
    • testCount_nullAbsent

      public void testCount_nullAbsent()
    • testCount_null_forbidden

      public void testCount_null_forbidden()
    • testCount_nullPresent

      public void testCount_nullPresent()
    • testCount_wrongType

      public void testCount_wrongType()
    • getCountDuplicateInitializingMethods

      public static List<Method> getCountDuplicateInitializingMethods()
      Returns Method instances for the read tests that assume multisets support duplicates so that the test of Multisets.forSet() can suppress them.