Package com.alexgilleran.icesoap.parser.test.xmlclasses

Examples of com.alexgilleran.icesoap.parser.test.xmlclasses.NonAnnotatedObjectList


  public void testObjectWithListOfNonAnnotatedObjects()
      throws XMLParsingException {
    IceSoapParser<NonAnnotatedObjectList> parser = new IceSoapParserImpl<NonAnnotatedObjectList>(
        NonAnnotatedObjectList.class);

    NonAnnotatedObjectList objectList = parser.parse(SampleXml
        .getInvalidList());

    assertEquals(1, objectList.getObjects().get(0).getId());
    assertEquals("Object1", objectList.getObjects().get(0).getName());
    assertEquals(2, objectList.getObjects().get(1).getId());
    assertEquals("Object2", objectList.getObjects().get(1).getName());
    assertEquals(3, objectList.getObjects().get(2).getId());
    assertEquals("Object3", objectList.getObjects().get(2).getName());
  }
View Full Code Here

TOP

Related Classes of com.alexgilleran.icesoap.parser.test.xmlclasses.NonAnnotatedObjectList

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.