You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Whitebox.invokeMethod should be able to execute a private method in
somewhere in the class hierarchy. For example if one creates an anonymous
inner class of the class under test to override some public methods you'd
still like to be able to invoke private methods in the "concrete class".
Original issue reported on code.google.com by johan.ha...@gmail.com on 28 Oct 2008 at 12:51
The text was updated successfully, but these errors were encountered:
Actually this already works by using the invokeMethod(Object tested, Class<?>
declaringClass, String methodToExecute, Object... arguments) method. However we
should add a invokeMethod(Object tested, Class<?> declaringClass, String
methodToExecute, Class<?>[] argumentTypes, Object... arguments) as well.
Original comment by johan.ha...@gmail.com on 28 Oct 2008 at 12:55
Original issue reported on code.google.com by
johan.ha...@gmail.com
on 28 Oct 2008 at 12:51The text was updated successfully, but these errors were encountered: