ValidationReportFacade extends AbstractJaxbFacade<ValidationReportType> { public static ValidationReportFacade newFacade() { return new ValidationReportFacade(); }  static ValidationReportFacade newFacade();  }
@Test public void unmarshallAndMarshall() throws IOException, JAXBException, XMLStreamException, SAXException { ValidationReportFacade facade = ValidationReportFacade.newFacade(); ValidationReportType validationReportType = facade.unmarshall(new File("src/test/resources/vr.xml")); assertNotNull(validationReportType); assertFalse(validationReportType.getSignatureValidationObjects().getValidationObject().isEmpty()); assertFalse(validationReportType.getSignatureValidationReport().isEmpty()); assertNull(validationReportType.getSignature()); String marshall = facade.marshall(validationReportType, true); assertNotNull(marshall); }