Let the code speak. I\'ll define the functions as top-level. In real life these would be methods of classes that can be mocked.