Package com.bansheeproject.builder.entity.test

Examples of com.bansheeproject.builder.entity.test.SimpleWithAttribute


  @Test
  public void testUnmarshallAttribute() {
    String xml = "<element attribute=\"attr\" />";
    Parser parser = new Parser();
   
    SimpleWithAttribute simple = (SimpleWithAttribute)parser.decode(xml, SimpleWithAttribute.class);
   
    Assert.assertNotNull(simple);
    Assert.assertEquals("attr", simple.attribute);
  }
View Full Code Here

TOP

Related Classes of com.bansheeproject.builder.entity.test.SimpleWithAttribute

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.