@Test
public void regionalEndpoint_withOc2RegionEnumId_endpointsShouldBeEqual() {

    final String expectedEndpoint = "https://foobar.us-luke-1.oraclegovcloud.com";
    final Region oc2Region = Region.US_LUKE_1;
    assertEquals(
            "Endpoint from OC2 Region enum should be equal",
            expectedEndpoint,
            Region.formatDefaultRegionEndpoint(TEST_SERVICE, oc2Region));
    assertEquals(
            "Endpoint from OC2 Region ID should be equal",
            expectedEndpoint,
            Region.formatDefaultRegionEndpoint(TEST_SERVICE, oc2Region.getRegionId()));
}