Tester to ensure forwarding wrapper works by delegating calls to the corresponding method with the same parameters forwarded and return value forwarded back or exception propagated as is.
For example:
{@code}new ForwardingWrapperTester().testForwarding(Foo.class, new Function() public Foo apply(Foo foo) { return new ForwardingFoo(foo); } });}
@author Ben Yu
@since 14.0