v0.4.0
What's Changed
- Scala3mock now uses the first public constructor found when building a mock type. If no public constructors are found, it emit an error to let you know it can't mock this type.
- The default value handling for mocked val and constructor call is now using the
Default
type class. That means we can more easily add support for specific types that we know don't work well when nulled by default (likeOutputStream
which is checked by quite a few Java constructors).
PRs
Full Changelog: v0.3.2...v0.4.0