Package org.jclouds.elb.xml

Examples of org.jclouds.elb.xml.LoadBalancerHandler


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

      LoadBalancer expected = expected();

      LoadBalancerHandler handler = injector.getInstance(LoadBalancerHandler.class);
      LoadBalancer result = factory.create(handler).parse(is);

      assertEquals(result, expected);
      assertEquals(result.getCreatedTime(), expected.getCreatedTime());
      assertEquals(result.getDnsName(), expected.getDnsName());
View Full Code Here


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

      LoadBalancer expected = expected();

      LoadBalancerHandler handler = injector.getInstance(LoadBalancerHandler.class);
      LoadBalancer result = factory.create(handler).parse(is);

      assertEquals(result, expected);
      assertEquals(result.getCreatedTime(), expected.getCreatedTime());
      assertEquals(result.getDnsName(), expected.getDnsName());
View Full Code Here

TOP

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

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.