Fix review comments

This commit is contained in:
Ian Baker 2024-11-28 16:54:00 +00:00
parent 037a6f3219
commit 21e627da1c

View File

@ -664,6 +664,9 @@ public class TestUtil {
parameters[i] = Array.get(Array.newInstance(method.getParameterTypes()[i], 1), 0);
}
method.invoke(forwardingInstance, parameters);
// Reflective version of verify(delegate).method(parameters), to assert the expected method
// was invoked on the delegate instance.
method.invoke(verify(delegate), parameters);
}
}