private void assertUrlEquals(String expected, URL actual) {
            assertEquals(expected, actual.toExternalForm());
        }
Unit tests for {@link RuntimeHttpUtils#convertRequestToUrl(Request, boolean, boolean)}.
aws-java-sdk-core/src/test/java/com/amazonaws/util/RuntimeHttpUtilsTest.java