public void testAppMarshal() throws IOException {
// Marshaller m = AtomJAXBUtils.createMarshaller(ctx, new
// JAXBNamespacePrefixMapper(RestConstants.NAMESPACE_APP));
Marshaller m = AppService.getMarshaller();
AppService service = getService();
JAXBElement<AppService> element = (new ObjectFactory()).createService(service);
ByteArrayOutputStream os = new ByteArrayOutputStream();
AtomJAXBUtils.marshal(m, element, null, os);
assertEquals(SERVICE_DOCUMENT, os.toString());
}