On 27 maio, 11:12, Szczepan Faber <
szcze...@gmail.com> wrote:
> Hey,
>
> New answer onto the Mockito class is not in our plans at the moment :)
>
> Allowing user's Answer type in the annotation is a good idea. At the
> moment, you can statically configure @Mock with certain answers available
> in MockitoAnswers. Supporting any type that extends Answer would be much
> better (even if we lose some compile time safety or we have to instantiate
> user's Answer). Can you submit an feature request for it?
>
> Cheers!
>
>
>
>
>
>
>
>
>
> On Sun, May 27, 2012 at 1:32 PM, Lance <
ukla...@gmail.com> wrote:
> > Hi Eric, I much prefer the default answer approach to using verify. Verify
> > requires an explicit call in every test method whereas default answers
> > throw exceptions implicitly until the methods are mocked.
>