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