On Wed, Mar 16, 2016 at 7:56 AM, Eric Lefevre-Ardant
<
er...@ericlefevre.net> wrote:
> Well, Math.random() returns a double. When you multiply a double with a long
> in Java, you get a double. AFAIK, this has always been the case, including
> in Java 7.
>
> Of course, using an Answer here is confusing because the returned type is an
> Object, so you get the error message later.
Yeah, the error message is good enough. I just thought I'd point it
out in case it was a regression (since "some time ago" this did work,
not sure how...)
Cheers!
-roger-
> You received this message because you are subscribed to a topic in the
> Google Groups "mockito" group.
> To unsubscribe from this topic, visit
>
https://groups.google.com/d/topic/mockito/dzNhL0xch7k/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
>
https://groups.google.com/d/msgid/mockito/CAPffK0HnHY9hM%3DFC00nHBxWR-52hKfv5rD%2BYRAU-m6auBxQWLg%40mail.gmail.com.