Uses of Class
nl.pim16aap2.testing.assertions.CompletableFutureAssertionsUtil.ExceptionContextAssertionBuilder
Packages that use CompletableFutureAssertionsUtil.ExceptionContextAssertionBuilder
Package
Description
This package contains a set of classes and utilities to add additional assertions to JUnit tests.
-
Uses of CompletableFutureAssertionsUtil.ExceptionContextAssertionBuilder in nl.pim16aap2.testing.assertions
Methods in nl.pim16aap2.testing.assertions that return CompletableFutureAssertionsUtil.ExceptionContextAssertionBuilderModifier and TypeMethodDescriptionAssertionBuilder.assertHasExceptionContext(CompletableFuture<?> future) Asserts that the givenCompletableFuturehas an exception context set.CompletableFutureAssertionsUtil.ExceptionContextAssertionBuilder.withMessage(@Nullable String message) Set the expected message of the exception context.CompletableFutureAssertionsUtil.ExceptionContextAssertionBuilder.withMessage(String format, @Nullable Object @Nullable ... args) Set the expected message of the exception context.CompletableFutureAssertionsUtil.ExceptionContextAssertionBuilder.withTimeOut(long timeoutMs) Set the timeout for theCompletableFutureto assert on.