// XMLStreamReader2String t2 = new XMLStreamReader2String();
// String xml = t2.transform(reader, null);
// System.out.println(xml);
Object result = context.createUnmarshaller().unmarshal(reader, MyBean.class);
assertTrue(result instanceof JAXBElement);
JAXBElement e2 = (JAXBElement)result;
assertTrue(e2.getValue() instanceof MyBean);
MyBean newBean = (MyBean)e2.getValue();
// FIXME :To be implemented
// assertEquals(bean, newBean);
}