mockito/mockito — pull request #103 by bric3 (2014-10-10 00:44:09+00:00)
Title: Fixes issue #99

See issue #99

What it does is propagating the serializing mode of the parent, upon each mock creation when deep stubbing.

Before each mock created where made serializable by default. Which is not an issue when the types have a default no arg constructor, but may become problematic when the type didn't have one, Mockito would report an error explaining that it couldn't mock this type.