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());
}