Add a generic way to add proxy support for private and non-private methods.
In some situations you want to just do something before or after the actual
method invocation, like record how many times the method was actually
invoked. This should be easily possible by delegating the call to an
InvocationHandler (that the user defines) in the MockGateway instead of
calling the real method.
Original issue reported on code.google.com by johan.ha...@gmail.com on 3 Jul 2009 at 12:32
Original issue reported on code.google.com by
johan.ha...@gmail.com
on 3 Jul 2009 at 12:32