Package org.jclouds.elb.xml

Examples of org.jclouds.elb.xml.DescribeLoadBalancersResultHandler


   public void test() {
      InputStream is = getClass().getResourceAsStream("/describe_loadbalancers_vpc.xml");

      IterableWithMarker<LoadBalancer> expected = expected();

      DescribeLoadBalancersResultHandler handler = injector.getInstance(DescribeLoadBalancersResultHandler.class);
      IterableWithMarker<LoadBalancer> result = factory.create(handler).parse(is);

      assertEquals(result.toString(), expected.toString());

   }
View Full Code Here


   public void test() {
      InputStream is = getClass().getResourceAsStream("/describe_loadbalancers.xml");

      IterableWithMarker<LoadBalancer> expected = expected();

      DescribeLoadBalancersResultHandler handler = injector.getInstance(DescribeLoadBalancersResultHandler.class);
      IterableWithMarker<LoadBalancer> result = factory.create(handler).parse(is);

      assertEquals(result.toString(), expected.toString());

   }
View Full Code Here

   public void test() {
      InputStream is = getClass().getResourceAsStream("/describe_loadbalancers_vpc.xml");

      IterableWithMarker<LoadBalancer> expected = expected();

      DescribeLoadBalancersResultHandler handler = injector.getInstance(DescribeLoadBalancersResultHandler.class);
      IterableWithMarker<LoadBalancer> result = factory.create(handler).parse(is);

      assertEquals(result.toString(), expected.toString());

   }
View Full Code Here

   public void test() {
      InputStream is = getClass().getResourceAsStream("/describe_loadbalancers.xml");

      IterableWithMarker<LoadBalancer> expected = expected();

      DescribeLoadBalancersResultHandler handler = injector.getInstance(DescribeLoadBalancersResultHandler.class);
      IterableWithMarker<LoadBalancer> result = factory.create(handler).parse(is);

      assertEquals(result.toString(), expected.toString());

   }
View Full Code Here

TOP

Related Classes of org.jclouds.elb.xml.DescribeLoadBalancersResultHandler

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.