API mocking for lazy folks.