support mocking of overloaded functions