Mocking of final classes and methods is an incubating, opt-in feature. It uses a combination of Java agent instrumentation and subclassing in order to enable mockability of these types. As this works differently to our current mechanism and this one has different limitations and as we want to gather experience and user feedback, this feature had to be explicitly activated to be available
--
You received this message because you are subscribed to the Google Groups "mockito" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mockito+u...@googlegroups.com.
To post to this group, send email to moc...@googlegroups.com.
Visit this group at https://groups.google.com/group/mockito.
To view this discussion on the web visit https://groups.google.com/d/msgid/mockito/66ac814e-d78b-457a-91a5-1bca281cd8c0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Some noteworthy notes about this mock maker:
withSettings().serializable()withSettings().extraInterfaces()java.*native methods-javaagentparameter upon starting the JVM.To unsubscribe from this group and stop receiving emails from it, send an email to mockito+unsubscribe@googlegroups.com.
To post to this group, send email to moc...@googlegroups.com.
Visit this group at https://groups.google.com/group/mockito.
To view this discussion on the web visit https://groups.google.com/d/msgid/mockito/9565ccd9-bffe-4d35-a9a4-491fe2dec12e%40googlegroups.com.
> email to mockito+unsubscribe@googlegroups.com.
> To post to this group, send email to moc...@googlegroups.com.
> Visit this group at https://groups.google.com/group/mockito.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/mockito/9565ccd9-bffe-4d35-a9a4-491fe2dec12e%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "mockito" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mockito+unsubscribe@googlegroups.com.
To post to this group, send email to moc...@googlegroups.com.
Visit this group at https://groups.google.com/group/mockito.
To view this discussion on the web visit https://groups.google.com/d/msgid/mockito/CAA5t8Vp3NhjD4Nju1t9XKYdQj-2KeUYBiJuJZFW%2B7zvgg_d3nw%40mail.gmail.com.