Closed GoogleCodeExporter closed 8 years ago
Hi
Sorry to reply this late. Well actually this is designed this way because, the
type that needs injection is not a mock, and if the constructor is designed way
it must be for a reason, so the injection strategy respect the design of this
class.
Overriding this might prove more problematic than writing ourself the
instantiation code.
So this enhancement won't happen in mockito. Though it might worth to mention
it in the javadoc.
Original comment by brice.du...@gmail.com
on 29 Apr 2013 at 3:38
Original comment by brice.du...@gmail.com
on 29 Apr 2013 at 4:19
Original issue reported on code.google.com by
reinhard...@gmail.com
on 14 Feb 2013 at 5:47