if the loader is not a mock, then it should have `getModuleInfo()` as a member. If it happens to be a mock, then `getModuleInfo()` should be added to the mock.