We could abstract a bit more and export a function that takes a mock request and a response object then handles the rest, e.g. `mockRespond(requests[0], RequestMocks.heartbeat)`