public abstract class AbstractStandardSoftAssertions extends Java6AbstractStandardSoftAssertions
proxies| Constructor and Description |
|---|
AbstractStandardSoftAssertions() |
assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThat, assertThatCode, assertThatObject, assertThatThrownBy, assertThatThrownBydecorateErrorsCollected, errorsCollected, fail, fail, fail, failBecauseExceptionWasNotThrown, proxy, shouldHaveThrown, wasSuccesspublic PathAssert assertThat(Path actual)
PathAssertactual - the pathpublic <VALUE> OptionalAssert<VALUE> assertThat(Optional<VALUE> actual)
Optional.VALUE - the type of the value contained in the Optional.actual - the actual value.public OptionalDoubleAssert assertThat(OptionalDouble actual)
OptionalDouble.actual - the actual value.public OptionalLongAssert assertThat(OptionalLong actual)
OptionalLong.actual - the actual value.public OptionalIntAssert assertThat(OptionalInt actual)
OptionalInt.actual - the actual value.public LocalDateAssert assertThat(LocalDate actual)
LocalDateAssert.actual - the actual value.public LocalDateTimeAssert assertThat(LocalDateTime actual)
LocalDateTimeAssert.actual - the actual value.public ZonedDateTimeAssert assertThat(ZonedDateTime actual)
ZonedDateTimeAssert.actual - the actual value.public LocalTimeAssert assertThat(LocalTime actual)
LocalTimeAssert.actual - the actual value.public OffsetTimeAssert assertThat(OffsetTime actual)
OffsetTimeAssert.actual - the actual value.public OffsetDateTimeAssert assertThat(OffsetDateTime actual)
OffsetDateTimeAssert.actual - the actual value.public InstantAssert assertThat(Instant actual)
InstantAssert.actual - the actual value.public <RESULT> CompletableFutureAssert<RESULT> assertThat(CompletableFuture<RESULT> actual)
CompletableFuture.RESULT - the type of the value contained in the CompletableFuture.actual - the actual value.public <RESULT> CompletableFutureAssert<RESULT> assertThat(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> assertThat(Predicate<T> actual)
Predicate.T - the type of the value contained in the Predicate.actual - the actual value.public IntPredicateAssert assertThat(IntPredicate actual)
IntPredicate.actual - the actual value.public DoublePredicateAssert assertThat(DoublePredicate actual)
DoublePredicate.actual - the actual value.public LongPredicateAssert assertThat(LongPredicate actual)
DoublePredicate.actual - the actual value.public <ELEMENT> AbstractListAssert<?,List<? extends ELEMENT>,ELEMENT,ObjectAssert<ELEMENT>> assertThat(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>> assertThat(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>> assertThat(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>> assertThat(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.