Types local to an interface's package are not updated with the package name when writing the mock to another package
nelsam opened this issue · comments
Samuel Nelson commented
Issue #4 showed us that types local to a package containing an interface that we're mocking will not get their package name added automatically when they're written to a file with a different package name.
This means that we'll need to figure out a way to detect types being used as parameters or results that are local to an interface's package and include the package name if the test package is different from the main package.
Samuel Nelson commented
Resolved by acf9fce