Here's a test project with 2 files that shows the problem.
You need 2 modules
- in the first module you should have a eunit test
- in the second module you should meck any function from the first module
When you run eunit, the meck fails at 'meck:expect' with 'undefined' exception.
How to reproduce: