| Package | Description |
|---|---|
| com.google.common.testing |
This package contains testing utilities.
|
| Modifier and Type | Method and Description |
|---|---|
CollectorTester<T,A,R> |
CollectorTester.expectCollects(R expectedResult,
T... inputs)
Verifies that the specified expected result is always produced by collecting the specified
inputs, regardless of how the elements are divided.
|
static <T,A,R> CollectorTester<T,A,R> |
CollectorTester.of(java.util.stream.Collector<T,A,R> collector)
Creates a
CollectorTester for the specified Collector. |
static <T,A,R> CollectorTester<T,A,R> |
CollectorTester.of(java.util.stream.Collector<T,A,R> collector,
java.util.function.BiPredicate<? super R,? super R> equivalence)
Creates a
CollectorTester for the specified Collector. |