@Test
public void connectionForTraceRequest() throws Exception {

    TestRequest.Trace request = new TestRequest.Trace();
    assertEquals(request.getMethod(), Method.TRACE);
    hurlStack.setConnectionParametersForRequest(mockConnection, request);
    assertEquals("TRACE", mockConnection.getRequestMethod());
    assertFalse(mockConnection.getDoOutput());
}