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, assertThatCode, assertThatThrownBy
errorsCollected, fail, fail, fail, failBecauseExceptionWasNotThrown, proxy, shouldHaveThrown, wasSuccess
public PathAssert assertThat(Path actual)
PathAssert
actual
- 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 <T> SoftAssertionPredicateAssert<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,STREAM extends BaseStream<ELEMENT,STREAM>> ListAssert<ELEMENT> assertThat(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.Copyright © 2014–2017 AssertJ. All rights reserved.