Katarzynasrom / powermock

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

Add support for returning fields on expectations #218

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
e.g. when(myMethod(x,y)).thenReturn(field(X.class, "fieldName"));

Original issue reported on code.google.com by johan.ha...@gmail.com on 21 Dec 2009 at 7:51

GoogleCodeExporter commented 9 years ago

Original comment by johan.ha...@gmail.com on 22 Dec 2009 at 10:04

GoogleCodeExporter commented 9 years ago

Original comment by johan.ha...@gmail.com on 10 Apr 2011 at 12:51