Use meck to support mocking functions.