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); } });}
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.