gordonad / powermock

Automatically exported from code.google.com/p/powermock
0 stars 0 forks source link

Whitebox.invokeConstructor should support null #186

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It should be possible to supply a null value as parameter type to
invokeConstructor

Original issue reported on code.google.com by johan.ha...@gmail.com on 16 Oct 2009 at 2:01

GoogleCodeExporter commented 9 years ago

Original comment by johan.ha...@gmail.com on 22 Jul 2010 at 9:18

GoogleCodeExporter commented 9 years ago
Same should work for invokeMethod, instead of

    invokeMethod( object, "method", new Object[0] )

I'd like to call

    invokeMethod( object, "method", null )

Yes, I know, that I can call

    invokeMethod( object, "method" )

Original comment by betlista@gmail.com on 28 Dec 2012 at 9:56