@Test
public void connectionForPatchRequest() throws Exception {

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