@Test
public void connectionForGetRequest() throws Exception {

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