@Test
public void testProcessStep() throws IOException, JAXBException {
final Marshaller marshaller = pool.acquireMarshaller();
final Unmarshaller unmarshaller = pool.acquireUnmarshaller();
final DefaultProcessing processing = new DefaultProcessing();
final DefaultProcessStep processStep = new DefaultProcessStep("Some process step.");
processing.setProcedureDescription(new SimpleInternationalString("Some procedure."));
processStep.setProcessingInformation(processing);
/*
* XML marshalling, and compare with the content of "ProcessStep.xml" file.
*/
final String xml = marshal(marshaller, processStep);
assertTrue(xml.startsWith("<?xml"));