c = ResourceUtils.createClassResourceInfo(TheBooks.class, TheBooks.class, true, true);
}
@Test
public void testAegisWrite() throws Exception {
Service s = new JAXRSServiceImpl(Collections.singletonList(c), true);
s.put("writeXsiType", true);
AegisDatabinding binding = new AegisDatabinding();
binding.initialize(s);
DataBindingProvider<Book> p = new DataBindingProvider<Book>(binding);
Book b = new Book("CXF", 127L);
ByteArrayOutputStream bos = new ByteArrayOutputStream();