public static <$Value> OptionalAssert<$Value> resultOf(CheckedOptionalSupplier<$Value> whenStep) { return assertThat(result(whenStep)); }
/** * Delegate call to {@link org.assertj.core.api.Assertions#assertThat(Optional)} */ default <T> OptionalAssert<T> then(Optional<T> optional) { fluentBdd().verification.recordThen(this); return DELEGATE.assertThat(optional); }
/** * Delegate call to {@link org.assertj.core.api.Assertions#assertThat(Optional)} */ default <T> OptionalAssert<T> and(Optional<T> optional) { fluentBdd().verification.recordThen(this); return DELEGATE.assertThat(optional); }
/** * Delegate call to public static <VALUE> org.assertj.core.api.OptionalAssert<VALUE> org.assertj.core.api.Assertions.assertThat(java.util.Optional<VALUE>) * {@link org.assertj.core.api.Assertions#assertThat(java.util.Optional)} */ default <VALUE> OptionalAssert<VALUE> assertThat(Optional<VALUE> actual) { return Assertions.assertThat(actual); }
/** * Delegate call to public static <T> org.assertj.core.api.OptionalAssert<T> org.assertj.core.api.Assertions.assertThat(java.util.Optional<T>) * {@link org.assertj.core.api.Assertions#assertThat(java.util.Optional)} */ default <T> OptionalAssert<T> assertThat(Optional<T> actual) { return Assertions.assertThat(actual); }