vijayjcp / powermock

Automatically exported from code.google.com/p/powermock
Apache License 2.0
0 stars 2 forks source link

Whitebox.invokeConstructor should support null #186

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 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 8 years ago

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

GoogleCodeExporter commented 8 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