@Test
public void connectionForDeleteRequest() throws Exception {

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