@Test
public void connectionForDeleteRequest() throws Exception {

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