new URL(provider.getRpcEndpoint()), 200, stringToInputStream("[]"));
EasyMock.expect(authScheme.getHttpMessage(eq(provider), eq("POST"),
eq(rpcEndPoint), isA(Map.class), eq(payload))).andReturn(null);
EasyMock.expect(httpClient.execute((HttpMessage) eq(null))).andReturn(
httpResponseMessage);
mockControl.replay();
client.send(request);