> + assertEquals( > + fn.apply(Endpoint.builder().region("regionOne").versionId("2.0") > + > .publicURL(URI.create("https://ericsson.com/v2/1900e98b-7272-4cbd-8e95-0b8c2a9266c0")) > + .build()).get(), > + > URI.create("https://ericsson.com/v2/1900e98b-7272-4cbd-8e95-0b8c2a9266c0")); > + } > + > + /** > + * If the {@code internalURL} is absent, then {@link InternalURL} will > fallback to > + * use the {@code publicURL} > + */ > + public void testInternalURLAbsentAndFallbackToPublicURL() { > + assertEquals( > + fn.apply(Endpoint.builder().region("regionOne").versionId("2.0") > + > .publicURL(URI.create("https://ericsson.com/v2/1900e98b-7272-4cbd-8e95-0b8c2a9266c0")) > + > .adminURL(URI.create("https://admin.ericsson.com/v2/1900e98b-7272-4cbd-8e95-0b8c2a9266c0"))
How is this different from `InternalURLAbsent`? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/462/files#r15715354