APIMock object parameterized with mock url