Open vglushak opened 7 years ago
Thanks for raising this. There are some patterns where the macro based mocks struggle and this looks like another bug related to this - meaning it will be hard if not impossible to fix before our switch to scala.meta. Can you check if you have more success using the Proxy mocks? Also, you may want to upgrade to 3.6.0.
ScalaMock Version (e.g. 3.5.0)
3.5.0
Scala Version (e.g. 2.12)
2.11
Runtime (JVM or JS)
JVM
Please describe the expected behavior of the issue
Mock should be created correctly. No exceptions thrown.
Please provide a description of what actually happens
Compilation exception is thrown when pass as parameter a List of internal classes.
Reproducible Test Case
Woraround: Move Param case class outside or at least to object with the same name.