| Package | Description |
|---|---|
| ch.powerunit.collector.lang |
DSL support for tester of
Collector. |
| Modifier and Type | Method and Description |
|---|---|
CollectorTesterDSL1<T,A,R> |
CollectorTesterDSL2.expecting(Matcher<? super R> matching)
Validate that the result of the
Stream.collect(java.util.stream.Collector) with
the Collector under test and the
current sample return a value matching this matcher. |
CollectorTesterDSL1<T,A,R> |
CollectorTesterDSL2.expecting(R value)
Validate that the result of the
Stream.collect(java.util.stream.Collector) with
the Collector under test and the
current sample return a value that is the received one. |
CollectorTesterDSL1<T,A,R> |
CollectorTesterDSL2.expectingNull()
Validate that the result of the
Stream.collect(java.util.stream.Collector) with
the Collector under test and the
current sample return a value that is null. |
Copyright © 2018 Powerunit. All rights reserved.