@Test
public void connectionForPutRequest() throws Exception {

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