Package org.jclouds.elb.parse

Examples of org.jclouds.elb.parse.AvailabilityZonesResultHandlerTest


            .payload(payloadFromResourceWithContentType("/zones.xml", "text/xml")).build();

      ELBApi apiWhenExist = requestSendsResponse(
            addZoneToLoadBalancer, getResponse);

      assertEquals(apiWhenExist.getAvailabilityZoneApi().addAvailabilityZoneToLoadBalancer("us-east-1a", "name").toString(), new AvailabilityZonesResultHandlerTest().expected().toString());
   }
View Full Code Here


      ELBApi apiWhenExist = requestSendsResponse(addZonesToLoadBalancer, getResponse);

      assertEquals(
               apiWhenExist.getAvailabilityZoneApi().addAvailabilityZonesToLoadBalancer(ImmutableSet.of("us-east-1a", "us-east-1b"), "name")
                        .toString(), new AvailabilityZonesResultHandlerTest().expected().toString());
   }
View Full Code Here

            .payload(payloadFromResourceWithContentType("/zones.xml", "text/xml")).build();

      ELBApi apiWhenExist = requestSendsResponse(
            removeZoneFromLoadBalancer, getResponse);

      assertEquals(apiWhenExist.getAvailabilityZoneApi().removeAvailabilityZoneFromLoadBalancer("us-east-1a", "name").toString(), new AvailabilityZonesResultHandlerTest().expected().toString());
   }
View Full Code Here

      ELBApi apiWhenExist = requestSendsResponse(removeZonesFromLoadBalancer, getResponse);

      assertEquals(
               apiWhenExist.getAvailabilityZoneApi().removeAvailabilityZonesFromLoadBalancer(ImmutableSet.of("us-east-1a", "us-east-1b"), "name")
                        .toString(), new AvailabilityZonesResultHandlerTest().expected().toString());
   }
View Full Code Here

            .payload(payloadFromResourceWithContentType("/zones.xml", "text/xml")).build();

      ELBApi apiWhenExist = requestSendsResponse(
            addZoneToLoadBalancer, getResponse);

      assertEquals(apiWhenExist.getAvailabilityZoneApi().addAvailabilityZoneToLoadBalancer("us-east-1a", "name").toString(), new AvailabilityZonesResultHandlerTest().expected().toString());
   }
View Full Code Here

      ELBApi apiWhenExist = requestSendsResponse(addZonesToLoadBalancer, getResponse);

      assertEquals(
               apiWhenExist.getAvailabilityZoneApi().addAvailabilityZonesToLoadBalancer(ImmutableSet.of("us-east-1a", "us-east-1b"), "name")
                        .toString(), new AvailabilityZonesResultHandlerTest().expected().toString());
   }
View Full Code Here

            .payload(payloadFromResourceWithContentType("/zones.xml", "text/xml")).build();

      ELBApi apiWhenExist = requestSendsResponse(
            removeZoneFromLoadBalancer, getResponse);

      assertEquals(apiWhenExist.getAvailabilityZoneApi().removeAvailabilityZoneFromLoadBalancer("us-east-1a", "name").toString(), new AvailabilityZonesResultHandlerTest().expected().toString());
   }
View Full Code Here

      ELBApi apiWhenExist = requestSendsResponse(removeZonesFromLoadBalancer, getResponse);

      assertEquals(
               apiWhenExist.getAvailabilityZoneApi().removeAvailabilityZonesFromLoadBalancer(ImmutableSet.of("us-east-1a", "us-east-1b"), "name")
                        .toString(), new AvailabilityZonesResultHandlerTest().expected().toString());
   }
View Full Code Here

TOP

Related Classes of org.jclouds.elb.parse.AvailabilityZonesResultHandlerTest

Copyright © 2018 www.massapicom. 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.