@Test public void testMarshal_JAXBException() throws JAXBException, SAXException, IOException { thrown.expect(JAXBException.class); JAXBUtils.marshal(new Object()); }
public static String marshal(Object obj) throws JAXBException { return marshal(obj, obj.getClass()); }
JAXBUtils { public static String marshal(Object obj) throws JAXBException { return marshal(obj, obj.getClass()); } }
JAXBUtils { public static String marshal(Object obj) throws JAXBException { return marshal(obj, obj.getClass()); }  }
JAXBUtils { public static String marshal(Object obj) throws JAXBException { return marshal(obj, obj.getClass()); }  static String marshal(Object obj); @SuppressWarnings("unchecked") static String marshalWithoutRootElement(T obj); static T unmarshalFromXml(Class<T> clazz, String xml); }
JAXBUtils { public static String marshal(Object obj) throws JAXBException { return marshal(obj, obj.getClass()); }  static String marshal(Object obj); @SuppressWarnings("unchecked") static String marshalWithoutRootElement(T obj); static T unmarshalFromXml(Class<T> clazz, String xml);  }