public abstract class AbstractBDDSoftAssertions extends Java6AbstractBDDSoftAssertions
proxies| Constructor and Description |
|---|
AbstractBDDSoftAssertions() |
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, then, then, thenCode, thenObject, thenThrownBy, thenThrownBydecorateErrorsCollected, errorsCollected, fail, fail, fail, failBecauseExceptionWasNotThrown, proxy, shouldHaveThrown, wasSuccesspublic PathAssert then(Path actual)
PathAssertactual - the pathpublic <VALUE> OptionalAssert<VALUE> then(Optional<VALUE> actual)
Optional.VALUE - the type of the value contained in the Optional.actual - the actual value.public OptionalDoubleAssert then(OptionalDouble actual)
OptionalDouble.actual - the actual value.public OptionalIntAssert then(OptionalInt actual)
OptionalInt.actual - the actual value.public OptionalLongAssert then(OptionalLong actual)
OptionalLong.actual - the actual value.public LocalDateAssert then(LocalDate actual)
LocalDateAssert.actual - the actual value.public LocalDateTimeAssert then(LocalDateTime actual)
LocalDateTimeAssert.actual - the actual value.public ZonedDateTimeAssert then(ZonedDateTime actual)
ZonedDateTimeAssert.actual - the actual value.public LocalTimeAssert then(LocalTime actual)
LocalTimeAssert.actual - the actual value.public OffsetTimeAssert then(OffsetTime actual)
OffsetTimeAssert.actual - the actual value.public OffsetDateTimeAssert then(OffsetDateTime actual)
OffsetDateTimeAssert.actual - the actual value.public InstantAssert then(Instant actual)
InstantAssert.actual - the actual value.public <RESULT> CompletableFutureAssert<RESULT> then(CompletableFuture<RESULT> actual)
CompletableFuture.RESULT - the type of the value contained in the CompletableFuture.actual - the actual value.public <RESULT> CompletableFutureAssert<RESULT> then(CompletionStage<RESULT> actual)
CompletionStage by converting it to a CompletableFuture and returning a CompletableFutureAssert.
If the given CompletionStage is null, the CompletableFuture in the returned CompletableFutureAssert will also be null.
RESULT - the type of the value contained in the CompletionStage.actual - the actual value.public <T> ProxyablePredicateAssert<T> then(Predicate<T> actual)
Predicate.T - the type of the value contained in the Predicate.actual - the actual value.public IntPredicateAssert then(IntPredicate actual)
IntPredicate.actual - the actual value.public DoublePredicateAssert then(DoublePredicate actual)
DoublePredicate.actual - the actual value.public LongPredicateAssert then(LongPredicate actual)
DoublePredicate.actual - the actual value.public <ELEMENT> AbstractListAssert<?,List<? extends ELEMENT>,ELEMENT,ObjectAssert<ELEMENT>> then(Stream<? extends ELEMENT> actual)
ListAssert from the given Stream.
Be aware that to create the returned ListAssert the given the Stream 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 Stream.
ELEMENT - the type of elements.actual - the actual Stream value.public AbstractListAssert<?,List<? extends Double>,Double,ObjectAssert<Double>> then(DoubleStream actual)
ListAssert from the given DoubleStream.
Be aware that to create the returned ListAssert the given the DoubleStream 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 DoubleStream.
actual - the actual DoubleStream value.public AbstractListAssert<?,List<? extends Long>,Long,ObjectAssert<Long>> then(LongStream actual)
ListAssert from the given LongStream.
Be aware that to create the returned ListAssert the given the LongStream 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 LongStream.
actual - the actual LongStream value.public AbstractListAssert<?,List<? extends Integer>,Integer,ObjectAssert<Integer>> then(IntStream actual)
ListAssert from the given IntStream.
Be aware that to create the returned ListAssert the given the IntStream 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 IntStream.
actual - the actual IntStream value.Copyright © 2014–2019 AssertJ. All rights reserved.