Common mocks of API's for unit testing.