Package com.google.common.truth
Class MultisetSubject
- java.lang.Object
-
- com.google.common.truth.Subject
-
- com.google.common.truth.IterableSubject
-
- com.google.common.truth.MultisetSubject
-
public final class MultisetSubject extends IterableSubject
Propositions forMultiset
subjects.- Author:
- Kurt Alfred Kluever
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.common.truth.IterableSubject
IterableSubject.UsingCorrespondence<A extends @Nullable java.lang.Object,E extends @Nullable java.lang.Object>
-
Nested classes/interfaces inherited from class com.google.common.truth.Subject
Subject.Factory<SubjectT extends Subject,ActualT>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
hasCount(@Nullable java.lang.Object element, int expectedCount)
Fails if the element does not have the given count.-
Methods inherited from class com.google.common.truth.IterableSubject
actualCustomStringRepresentation, comparingElementsUsing, contains, containsAnyIn, containsAnyIn, containsAnyOf, containsAtLeast, containsAtLeastElementsIn, containsAtLeastElementsIn, containsExactly, containsExactlyElementsIn, containsExactlyElementsIn, containsNoDuplicates, containsNoneIn, containsNoneIn, containsNoneOf, doesNotContain, formattingDiffsUsing, hasSize, isEmpty, isEqualTo, isInOrder, isInOrder, isInStrictOrder, isInStrictOrder, isNoneOf, isNotEmpty, isNotIn
-
Methods inherited from class com.google.common.truth.Subject
check, equals, failWithActual, failWithActual, failWithoutActual, hashCode, ignoreCheck, isAnyOf, isIn, isInstanceOf, isNotEqualTo, isNotInstanceOf, isNotNull, isNotSameInstanceAs, isNull, isSameInstanceAs, toString
-
-