public final class RemoteMessageTest {
private <T> T serDeser(T object, Class<T> clazz) throws Exception {
Serializer ser = SerializerFactory.create(FormatType.JSON, null, true);
byte[] bytes = ser.serialize(object, clazz);
return ser.deserialize(bytes, clazz);
}
@Test
public void testDOMProperty() throws Exception {
final String expectedXML = "<one number=\"1\"><two number=\"2\"/></one>";