I have the followign bit of code which is failing in the arguents mismatch error
mockSpotAccessor.doWithRetry(eq({
mockSpotAccessor.asyncNestedAggregation(any(), any(), any(), any(), any()) }), eq(5))
verify(mockSpotAccessor, times(1)).doWithRetry(eq({
mockSpotAccessor.asyncNestedAggregation(any(), any(), any(), any(), any()) }), eq(5))
Expected
spotAccessor.doWithRetry( (callRetryForAsyncCalls$2) () -> java.util.concurrent.CompletableFuture<kotlin.collections.List<com.amazon.noblearsenallambda.AggregationResultObject>>, 5 );
Actual
spotAccessor.doWithRetry( (callRetryForAsyncCalls$answer$1) () -> java.util.concurrent.CompletableFuture<kotlin.collections.List<com.amazon.noblearsenallambda.AggregationResultObject>>, 0 );
I am not sure, as working with mockito for the first time
>doWithRetry(/*...*/)` [as described here](https://stackoverflow.com/q/57256572/1426891).
– Jeff Bowman Dec 13 '21 at 21:52