public class CollectionSubject<S extends CollectionSubject<S,T,C>,T,C extends Collection<T>> extends IterableSubject<S,T,C>
Collection
subjects.Modifier and Type | Class and Description |
---|---|
class |
CollectionSubject.Has<T,C extends Collection<T>>
Deprecated.
assertThat(foo).has().somePredicate() has
been replaced with direct methods such as
IterableSubject.containsAllOf(Object, Object, Object...) ,
IterableSubject.contains(Object) , etc. |
Subject.HasField
failureStrategy
Modifier and Type | Method and Description |
---|---|
CollectionSubject.Has<T,C> |
has()
Deprecated.
assertThat(foo).has().somePredicate() has
been replaced with direct methods such as
IterableSubject.containsAllOf(Object, Object, Object...) ,
IterableSubject.contains(Object) , etc. |
contains, containsAllIn, containsAllOf, containsAnyIn, containsAnyOf, containsExactly, containsExactlyElementsIn, containsNoDuplicates, containsNoneIn, containsNoneOf, containsOnlyElements, containsOnlyElementsIn, doesNotContain, hasSize, isEmpty, isNotEmpty, iteratesAs, iteratesAs, iteratesOverSequence
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
@CheckReturnValue @Deprecated public CollectionSubject.Has<T,C> has()
assertThat(foo).has().somePredicate()
has
been replaced with direct methods such as
IterableSubject.containsAllOf(Object, Object, Object...)
,
IterableSubject.contains(Object)
, etc.Copyright © 2014. All rights reserved.