@Test
public void usesRequestHostToCreateWrapper() throws Exception {

    final ServiceWrapper wrapper = new NullWrapper();
    expect(mockBackend.execute(isA(HttpHost.class), isA(HttpRequest.class), isA(HttpContext.class)))
            .andReturn(resp);
    expect(mockFactory.getWrapperWithName(HOST_STRING)).andReturn(wrapper);
    replayMocks();
    impl.execute(host, req, ctx);
    verifyMocks();
}