String value = "<concreteRestResource><name>The Book</name></concreteRestResource>";
m.setContent(InputStream.class, new ByteArrayInputStream(value.getBytes()));
List<Object> params = JAXRSUtils.processParameters(ori, values, m);
assertEquals(1, params.size());
ConcreteRestResource book = (ConcreteRestResource)params.get(0);
assertNotNull(book);
assertEquals("The Book", book.getName());
}