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

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


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

    NilValues values = parser.parse(SampleXml.getNilValues());

    assertEquals(values.getCharValue(), '\0');
    assertEquals(values.getDoubleValue(), 0, 0);
    assertEquals(values.getFloatValue(), 0, 0);
    assertEquals(values.getIntValue(), 0);
    assertEquals(values.getLongValue(), 0);
    assertEquals(values.getStringValue(), null);
  }
View Full Code Here

TOP

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

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.