@Test
public void shouldDelegate() throws IOException {

    final URI uri = URI.create("localhost");
    final String method = "GET";
    unit.createRequest(uri, method);
    verify(delegate).createRequest(uri, method);
}