Package | Description |
---|---|
com.google.common.truth |
Modifier and Type | Method and Description |
---|---|
Ordered |
CollectionSubject.Has.allFrom(Collection<E> expected)
Attests that a Collection contains at least all of the objects contained
in the provided collection or fails, coping with duplicates in both
the Collection and the parameters.
|
Ordered |
CollectionSubject.Has.allOf(E first)
Attests that a Collection contains at least all of the provided objects
or fails, coping with duplicates in both the Collection and the
parameters.
|
Ordered |
CollectionSubject.Has.allOf(E first,
E second,
E... rest)
Attests that a Collection contains at least all of the provided objects
or fails, coping with duplicates in both the Collection and the
parameters.
|
Ordered |
CollectionSubject.Has.exactly(E first)
Attests that a Collection contains at all of the provided objects and
only these objects or fails.
|
Ordered |
CollectionSubject.Has.exactly(E first,
E second,
E... rest)
Attests that a Collection contains at all of the provided objects and
only these objects or fails.
|
Ordered |
CollectionSubject.Has.exactlyAs(Collection<E> expected)
Attests that a Collection contains at all of the objects contained in the
provided collection and only these objects or fails.
|
Copyright © 2016. All rights reserved.