``` assertThat({ throw ExecutionException(...
# random
n
Copy code
assertThat({ throw ExecutionException(RuntimeException("cause")) },
                throws<ExecutionException>(has(Throwable::message, contains("cause")))))))