Package org.jclouds.savvis.vpdc.domain

Examples of org.jclouds.savvis.vpdc.domain.NetworkConnectionSection


   public void test() {
      InputStream is = getClass().getResourceAsStream("/networkconnectionsection.xml");
      Injector injector = Guice.createInjector(new SaxParserModule());
      Factory factory = injector.getInstance(ParseSax.Factory.class);
      NetworkConnectionSection result = factory.create(injector.getInstance(NetworkConnectionSectionHandler.class))
               .parse(is);
      assertEquals(result.toString(), NetworkConnectionSection.builder().network("VM Tier01").info(
               "Read only description of a network connection to a deployed vApp").ipAddress("10.76.0.5").build()
               .toString());
   }
View Full Code Here


   public void test() {
      InputStream is = getClass().getResourceAsStream("/networkconnectionsection.xml");
      Injector injector = Guice.createInjector(new SaxParserModule());
      Factory factory = injector.getInstance(ParseSax.Factory.class);
      NetworkConnectionSection result = factory.create(injector.getInstance(NetworkConnectionSectionHandler.class))
               .parse(is);
      assertEquals(result.toString(), NetworkConnectionSection.builder().network("VM Tier01").info(
               "Read only description of a network connection to a deployed vApp").ipAddress("10.76.0.5").build()
               .toString());
   }
View Full Code Here

TOP

Related Classes of org.jclouds.savvis.vpdc.domain.NetworkConnectionSection

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.