gordonad / powermock

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

expectNew should support mocking inner classes #57

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
expectNew should alternatively take a fully-qualified name as the first
parameter to allow for this.

Original issue reported on code.google.com by johan.ha...@gmail.com on 3 Nov 2008 at 12:21

GoogleCodeExporter commented 8 years ago

Original comment by johan.ha...@gmail.com on 4 Nov 2008 at 9:11

GoogleCodeExporter commented 8 years ago
No need to fix this because you can now use the Whitebox class to get the class 
type
for inner, local and anonymous classes. These types can then be used together 
with
expectNew.

Original comment by johan.ha...@gmail.com on 24 Jan 2009 at 6:57