@Test
public void connectionForPostRequest() throws Exception {

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