@Test
public void connectionForDeprecatedGetRequest() throws Exception {

    TestRequest.DeprecatedGet request = new TestRequest.DeprecatedGet();
    assertEquals(request.getMethod(), Method.DEPRECATED_GET_OR_POST);
    HurlStack.setConnectionParametersForRequest(mMockConnection, request);
    verify(mMockConnection, never()).setRequestMethod(anyString());
    verify(mMockConnection, never()).setDoOutput(true);
}