public class CollectionSubject.Has<T,C extends Collection<T>> extends Object
Constructor and Description |
---|
CollectionSubject.Has() |
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)
Attests that a Collection contains at all of the provided objects and
only these objects or fails.
|
Ordered |
exactly(T first,
T second,
T... rest)
Attests that a Collection contains at all of the provided objects and
only these objects or fails.
|
Ordered |
exactlyAs(Iterable<T> required)
Attests that a Collection contains at all of the objects contained in the
provided collection and only these objects or fails.
|
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.public Ordered exactly(T first)
inOrder()
is explicitly called.public Ordered exactly(T first, T second, T... rest)
inOrder()
is explicitly called.public Ordered exactlyAs(Iterable<T> required)
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.