### Question:
RequestConnectionTimeout implements AnyRequestModifier { @Override public void applyTo(ServerDriverHttpUriRequest request) { request.setConnectionTimeout(timeout); } RequestConnectionTimeout(long timeout); @Override void applyTo(ServerDriverHttpUriRequest request);  }### Answer:
@Test public void timeoutIsAppliedCorrectlyToRequest() { ServerDriverHttpUriRequest request = new ServerDriverHttpUriRequest(new HttpGet()); RequestConnectionTimeout timeout = new RequestConnectionTimeout(1111); timeout.applyTo(request); assertThat(request.getConnectionTimeout(), is(1111L)); }