// Returns a mock HTTP client that responds with an image to all requests.ValueGetter<http.Client>createMockImageHttpClient=(){returnnewhttp.MockClient((http.BaseRequestrequest){returnnewFuture<http.Response>.value(newhttp.Response.bytes(kTransparentImage,200,request:request));});};