Class MultisetSubject


public final class MultisetSubject extends IterableSubject
A subject for Multiset values.
Author:
Kurt Alfred Kluever
  • Method Details

    • hasCount

      public final void hasCount(@Nullable Object element, int expectedCount)
      Checks that the actual multiset has exactly the given number of occurrences of the given element.