Examples of GeoRegionGroupApi


Examples of com.dyn.client.v3.traffic.features.GeoRegionGroupApi

public class GeoRegionGroupApiLiveTest extends BaseDynTrafficApiLiveTest {

   @Test
   protected void testListAndGetGeoRegionGroups() {
      for (String service : geoApi().list()) {
         GeoRegionGroupApi api = api(service);
         ImmutableList<String> groups = api.list().toList();
         getAnonymousLogger().info("geo service: " + service + " group count: " + groups.size());
         for (String group : groups) {
            GeoRegionGroup groupDetail = api.get(group);
            assertNotNull(groupDetail.getServiceName().get(), "ServiceName cannot be null " + groupDetail);
            checkGeoRegionGroup(groupDetail);
         }
      }
   }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.