I think we have better ways to achieve this without resorting to mocks.  Many of our unit tests use an imported XML course.  If you switch to using `MixedModuleStore`, such a course should be available automatically; you'll just need to reference it by the correct course ID.