public static StatusRuntimeException assertFutureThrowsStatus(final Future<?> future,
            final int timeout, final TimeUnit timeoutUnit) {
        return assertFutureThrows(StatusRuntimeException.class, future, timeout, timeoutUnit);
    }
Asserts that the given {@link Future} throws an {@link ExecutionException} caused by a
{@link StatusRuntimeException} with the expected status code.

@param future The future expected to throw.
@param timeout The maximum time to wait for the result.
@param timeoutUnit The time unit of the {@code timeout} argument.
@return The thrown StatusRuntimeException.
tests/src/test/java/net/devh/boot/grpc/test/util/GrpcAssertions.java