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

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


  @Test
  public void testCrappyLists() throws XMLParsingException, ParseException {
    IceSoapParser<Reply> parser = new IceSoapParserImpl<Reply>(Reply.class);

    Reply reply = parser.parse(SampleXml.getCrappyList());

    assertEquals(0, reply.exitTo);
    assertEquals(new SimpleDateFormat("yyyy-MM-dd'T'hh:mm:ss.sss").parse("2012-11-29T15:22:17.927"), reply.reqTime);
    assertEquals("USER_1", reply.users.get(0).name);
    assertEquals("USER_2", reply.users.get(1).name);
View Full Code Here

TOP

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

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.