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, assertThatThrownBy
errorsCollected, fail, fail, fail, failBecauseExceptionWasNotThrown, proxy, shouldHaveThrown, wasSuccess
public PathAssert assertThat(Path actual)
PathAssert
actual
- the pathpublic <T> OptionalAssert<T> assertThat(Optional<T> actual)
Optional
.T
- 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 <T> CompletableFutureAssert<T> assertThat(CompletableFuture<T> actual)
CompletableFuture
.T
- the type of the value contained in the CompletableFuture
.future
- 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> ListAssert<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
.
actual
- the actual Stream
value.Copyright © 2014–2016 AssertJ. All rights reserved.