Package com.google.common.truth
Class CollectionSubject<S extends CollectionSubject<S,T,C>,T,C extends Collection<T>>
- java.lang.Object
-
- com.google.common.truth.Subject<S,C>
-
- com.google.common.truth.IterableSubject<S,T,C>
-
- com.google.common.truth.CollectionSubject<S,T,C>
-
- Direct Known Subclasses:
ListSubject
public class CollectionSubject<S extends CollectionSubject<S,T,C>,T,C extends Collection<T>> extends IterableSubject<S,T,C>
Propositions forCollection
subjects.- Author:
- Christian Gruber
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description class
CollectionSubject.Has<T,C extends Collection<T>>
-
Nested classes/interfaces inherited from class com.google.common.truth.Subject
Subject.HasField
-
-
Field Summary
-
Fields inherited from class com.google.common.truth.Subject
failureStrategy
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CollectionSubject.Has<T,C>
has()
-
Methods inherited from class com.google.common.truth.IterableSubject
contains, containsAllIn, containsAllOf, containsAnyIn, containsAnyOf, containsExactly, containsExactlyElementsIn, containsNoDuplicates, containsNoneIn, containsNoneOf, containsOnlyElements, containsOnlyElementsIn, doesNotContain, hasSize, isEmpty, isNotEmpty, iteratesAs, iteratesAs, iteratesOverSequence
-
Methods inherited from class com.google.common.truth.Subject
check, equals, fail, fail, fail, failWithBadResults, failWithCustomSubject, failWithoutSubject, failWithRawMessage, getDisplaySubject, getSubject, hasField, hashCode, internalCustomName, is, isA, isEqualTo, isInstanceOf, isNotA, isNotEqualTo, isNotInstanceOf, isNotNull, isNotSameAs, isNull, isSameAs, labeled, named
-
-
-
-
Method Detail
-
has
@CheckReturnValue public CollectionSubject.Has<T,C> has()
-
-