assertThat(foo).has().somePredicate()
has
been replaced with direct methods such as
IterableSubject.containsAllOf(Object, Object, Object...)
,
IterableSubject.contains(Object)
, etc.@Deprecated public class CollectionSubject.Has<T,C extends Collection<T>> extends Object
Constructor and Description |
---|
CollectionSubject.Has()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Ordered |
allFrom(Iterable<T> required)
Deprecated.
Use
IterableSubject.containsAllIn(Iterable<?>) instead. |
Ordered |
allOf(T first)
Deprecated.
Use
IterableSubject.contains(Object) instead. |
Ordered |
allOf(T first,
T second,
T... rest)
Deprecated.
|
void |
anyFrom(Iterable<T> col)
Deprecated.
Use
IterableSubject.containsAnyIn(Iterable<?>) instead. |
void |
anyOf(T first)
Deprecated.
Use
IterableSubject.contains(Object) instead. |
void |
anyOf(T first,
T second,
T... rest)
Deprecated.
|
Ordered |
exactly(T first)
Deprecated.
Use
IterableSubject#containsExactly(Object) instead. |
Ordered |
exactly(T first,
T second,
T... rest)
Deprecated.
Use
IterableSubject.containsExactly(Object...) instead. |
Ordered |
exactlyAs(Iterable<T> required)
Deprecated.
|
void |
item(T item)
Deprecated.
Use
IterableSubject.contains(Object) instead. |
void |
noneFrom(Iterable<T> excluded)
Deprecated.
Use
IterableSubject.containsNoneIn(Iterable<?>) instead. |
void |
noneOf(T first)
Deprecated.
Use
IterableSubject.doesNotContain(Object) instead. |
void |
noneOf(T first,
T second,
T... rest)
Deprecated.
|
@Deprecated public void item(T item)
IterableSubject.contains(Object)
instead.@Deprecated public void anyOf(T first)
IterableSubject.contains(Object)
instead.@Deprecated public void anyOf(T first, T second, T... rest)
IterableSubject.containsAnyOf(Object, Object, Object...)
instead.@Deprecated public void anyFrom(Iterable<T> col)
IterableSubject.containsAnyIn(Iterable<?>)
instead.@Deprecated public Ordered allOf(T first)
IterableSubject.contains(Object)
instead.@Deprecated public Ordered allOf(T first, T second, T... rest)
IterableSubject.containsAllOf(Object, Object, Object...)
instead.@Deprecated public Ordered allFrom(Iterable<T> required)
IterableSubject.containsAllIn(Iterable<?>)
instead.@Deprecated public Ordered exactly(T first)
IterableSubject#containsExactly(Object)
instead.inOrder()
is explicitly called.@Deprecated public Ordered exactly(T first, T second, T... rest)
IterableSubject.containsExactly(Object...)
instead.inOrder()
is explicitly called.@Deprecated public Ordered exactlyAs(Iterable<T> required)
IterableSubject.containsExactlyElementsIn(Iterable<?>)
instead.inOrder()
is explicitly called.@Deprecated public void noneOf(T first)
IterableSubject.doesNotContain(Object)
instead.@Deprecated public void noneOf(T first, T second, T... rest)
IterableSubject.containsNoneOf(Object, Object, Object...)
instead.@Deprecated public void noneFrom(Iterable<T> excluded)
IterableSubject.containsNoneIn(Iterable<?>)
instead.Copyright © 2014. All rights reserved.