public class CollectionVerifier<T> extends AbstractVerifier<Collection<T>,CollectionVerifier<T>>
| Modifier and Type | Method and Description |
|---|---|
void |
contains(T firstContained,
T... furtherContained)
asserts that the validated colletion contains the expected values.
|
void |
containsOnly(T firstContained,
T... furtherContained)
asserts that the validated colletion contain only the expected values.
|
void |
isEmpty()
asserts that the validated colletion is empty.
|
void |
isNotEmpty()
asserts that the validated colletion is not empty.
|
isEqualTo, isNotEqualTo, isNotNull, isNull, matchespublic void isEmpty()
public void isNotEmpty()
@SafeVarargs public final void containsOnly(T firstContained, T... furtherContained)
@SafeVarargs public final void contains(T firstContained, T... furtherContained)
Copyright © 2020. All rights reserved.