gordonad / powermock

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

WhiteBox invoke method must handle null #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
WhiteBox.invokeMethod(...) must throw an exception of the object passed to
the method is null (i.e. invokeMethod(null, ...)). Right now we get NPE.

Original issue reported on code.google.com by johan.ha...@gmail.com on 11 Sep 2008 at 6:56

GoogleCodeExporter commented 9 years ago
WhiteBox invoke method and invoke constructor methods now throws an
IllegalArgumentException if the first argument is null.

Original comment by johan.ha...@gmail.com on 13 Sep 2008 at 10:08