@Test
public void connectionForTraceRequest() throws Exception {

    TestRequest.Trace request = new TestRequest.Trace();
    assertEquals(request.getMethod(), Method.TRACE);
    HurlStack.setConnectionParametersForRequest(mMockConnection, request);
    verify(mMockConnection).setRequestMethod("TRACE");
    verify(mMockConnection, never()).setDoOutput(true);
}