Moving mock to a mock file.