public abstract class AbstractBDDSoftAssertions extends Java6AbstractBDDSoftAssertions
proxies| Constructor and Description |
|---|
AbstractBDDSoftAssertions() |
| Modifier and Type | Method and Description |
|---|---|
<ELEMENT,STREAM extends java.util.stream.BaseStream<ELEMENT,STREAM>> |
then(java.util.stream.BaseStream<? extends ELEMENT,STREAM> actual)
Creates a new instance of
from the given BaseStream. |
<RESULT> CompletableFutureAssert<RESULT> |
then(java.util.concurrent.CompletableFuture<RESULT> actual)
Create assertion for
CompletableFuture. |
DoublePredicateAssert |
then(java.util.function.DoublePredicate actual)
Create assertion for
DoublePredicate. |
InstantAssert |
then(java.time.Instant actual)
Creates a new instance of
. |
IntPredicateAssert |
then(java.util.function.IntPredicate actual)
Create assertion for
IntPredicate. |
LocalDateAssert |
then(java.time.LocalDate actual)
Creates a new instance of
. |
LocalDateTimeAssert |
then(java.time.LocalDateTime actual)
Creates a new instance of
. |
LocalTimeAssert |
then(java.time.LocalTime actual)
Creates a new instance of
. |
LongPredicateAssert |
then(java.util.function.LongPredicate actual)
Create assertion for
DoublePredicate. |
OffsetDateTimeAssert |
then(java.time.OffsetDateTime actual)
Creates a new instance of
. |
OffsetTimeAssert |
then(java.time.OffsetTime actual)
Creates a new instance of
. |
<VALUE> OptionalAssert<VALUE> |
then(java.util.Optional<VALUE> actual)
Create assertion for
Optional. |
OptionalDoubleAssert |
then(java.util.OptionalDouble actual)
Create assertion for
OptionalDouble. |
OptionalIntAssert |
then(java.util.OptionalInt actual)
Create assertion for
OptionalInt. |
OptionalLongAssert |
then(java.util.OptionalLong actual)
Create assertion for
OptionalLong. |
PathAssert |
then(java.nio.file.Path actual)
Creates a new, proxied instance of a
PathAssert |
<T> SoftAssertionPredicateAssert<T> |
then(java.util.function.Predicate<T> actual)
Create assertion for
Predicate. |
ZonedDateTimeAssert |
then(java.time.ZonedDateTime actual)
Creates a new instance of
. |
then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, then, thenCode, thenThrownByerrorsCollected, fail, fail, fail, failBecauseExceptionWasNotThrown, proxy, shouldHaveThrown, wasSuccesspublic PathAssert then(java.nio.file.Path actual)
PathAssertactual - the pathpublic <VALUE> OptionalAssert<VALUE> then(java.util.Optional<VALUE> actual)
Optional.VALUE - the type of the value contained in the Optional.actual - the actual value.public OptionalDoubleAssert then(java.util.OptionalDouble actual)
OptionalDouble.actual - the actual value.public OptionalIntAssert then(java.util.OptionalInt actual)
OptionalInt.actual - the actual value.public OptionalLongAssert then(java.util.OptionalLong actual)
OptionalLong.actual - the actual value.public LocalDateAssert then(java.time.LocalDate actual)
LocalDateAssert.actual - the actual value.public LocalDateTimeAssert then(java.time.LocalDateTime actual)
LocalDateTimeAssert.actual - the actual value.public ZonedDateTimeAssert then(java.time.ZonedDateTime actual)
ZonedDateTimeAssert.actual - the actual value.public LocalTimeAssert then(java.time.LocalTime actual)
LocalTimeAssert.actual - the actual value.public OffsetTimeAssert then(java.time.OffsetTime actual)
OffsetTimeAssert.actual - the actual value.public OffsetDateTimeAssert then(java.time.OffsetDateTime actual)
OffsetDateTimeAssert.actual - the actual value.public InstantAssert then(java.time.Instant actual)
InstantAssert.actual - the actual value.public <RESULT> CompletableFutureAssert<RESULT> then(java.util.concurrent.CompletableFuture<RESULT> actual)
CompletableFuture.RESULT - the type of the value contained in the CompletableFuture.actual - the actual value.public <T> SoftAssertionPredicateAssert<T> then(java.util.function.Predicate<T> actual)
Predicate.T - the type of the value contained in the Predicate.actual - the actual value.public IntPredicateAssert then(java.util.function.IntPredicate actual)
IntPredicate.actual - the actual value.public DoublePredicateAssert then(java.util.function.DoublePredicate actual)
DoublePredicate.actual - the actual value.public LongPredicateAssert then(java.util.function.LongPredicate actual)
DoublePredicate.actual - the actual value.public <ELEMENT,STREAM extends java.util.stream.BaseStream<ELEMENT,STREAM>> ListAssert<ELEMENT> then(java.util.stream.BaseStream<? extends ELEMENT,STREAM> actual)
ListAssert from the given BaseStream.
Be aware that to create the returned ListAssert the given the BaseStream is consumed so it won't be
possible to use it again. Calling multiple methods on the returned ListAssert is safe as it only
interacts with the List built from the BaseStream.
This method accepts Stream and primitive stream variants
IntStream, LongStream and DoubleStream.
actual - the actual BaseStream value.