@Test
public void regionalEndpoint_withOc1RegionEnumAndId_endpointsShouldBeEqual() {

    final String expectedEndpoint = "https://foobar.us-phoenix-1.oraclecloud.com";
    final Region oc1Region = Region.US_PHOENIX_1;
    assertEquals(expectedEndpoint, Region.formatDefaultRegionEndpoint(TEST_SERVICE, oc1Region));
    assertEquals(
            expectedEndpoint,
            Region.formatDefaultRegionEndpoint(TEST_SERVICE, oc1Region.getRegionId()));
}