Create own implementations of e.g. isA(..) that doesn't return null but an
"instance" (or something similar) of the type passed to isA(). Otherwise
expectPrivate won't work with argument matchers if there's more than one
private method of the same name. Work-arounds exists though, you can
specify the parameter-types of the method manually or even pass a Method to
expectPrivate.
Original issue reported on code.google.com by johan.ha...@gmail.com on 2 Jul 2009 at 9:41
Original issue reported on code.google.com by
johan.ha...@gmail.com
on 2 Jul 2009 at 9:41