@Test
public void createEndpoint_useDefaultTemplate() {

    Service testService =
            Services.serviceBuilder()
                    .serviceEndpointPrefix("foobar")
                    .serviceName("EndpointBuilderTest1")
                    .build();
    assertEquals(
            "https://foobar.us-phoenix-1.oraclecloud.com",
            EndpointBuilder.createEndpoint(testService, Region.US_PHOENIX_1));
}