private Request<?> newRequest() {
            Request<?> request = new DefaultRequest<Object>("foo");
            request.setEndpoint(ENDPOINT);
            return request;
        }
Unit tests for {@link RuntimeHttpUtils#convertRequestToUrl(Request, boolean, boolean)}.
aws-java-sdk-core/src/test/java/com/amazonaws/util/RuntimeHttpUtilsTest.java