}
@Test
public void testEcho() throws Exception
{
ResteasyClient client1 = new ResteasyClientBuilder().socketTimeout(2, TimeUnit.SECONDS).build();
ClientHttpEngine engine = client1.httpEngine();
Assert.assertNotNull(engine);
ResteasyClient client = new ResteasyClientBuilder().httpEngine(engine).build();
ResteasyWebTarget target = client.target(TestPortProvider.generateURL("/timeout"));
try
{
Response response = target.queryParam("sleep", "5").request().get();
Assert.fail();