public static <T> void assertFutureEquals(final T expected, final Future<T> future,
            final int timeout, final TimeUnit timeoutUnit) {
        assertFutureEquals(expected, future, UnaryOperator.identity(), timeout, timeoutUnit);
    }
Asserts that the {@link Future} returns the expected result.

@param <T> The type of the future content.
@param expected The expected content.
@param future The future to check for the expected content.
@param timeout The maximum time to wait for the result.
@param timeoutUnit The time unit of the {@code timeout} argument.
tests/src/test/java/net/devh/boot/grpc/test/util/FutureAssertions.java