Class FlinkCompletableFutureAssert.WithThrowable

  • Enclosing class:
    FlinkCompletableFutureAssert<T>

    public static class FlinkCompletableFutureAssert.WithThrowable
    extends Object
    A strongly typed alternative to WithThrowable.
    • Method Detail

      • withThrowableOfType

        public <T extends Throwable> org.assertj.core.api.ThrowableAssertAlternative<T> withThrowableOfType​(Class<T> type)
        Checks that the underlying throwable is of the given type and returns a ThrowableAssertAlternative to chain further assertions on the underlying throwable.
        Type Parameters:
        T - the expected Throwable type
        Parameters:
        type - the expected Throwable type
        Returns:
        a ThrowableAssertAlternative built with underlying throwable.