@Test
public void connectionForOptionsRequest() throws Exception {

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