@Test
public void testReprocessChartMarshalling() {
// printout a sample request
ReprocessChartRequest rsReq = new ReprocessChartRequest();
rsReq.add("testChart1");
rsReq.add("testChart2");
JAXB.marshal(rsReq, System.out);
// test loading / unmarshalling request
File reproFile = loadFile("reprocess/reprocessChart.xml");
assertNotNull("Error finding file", reproFile);
ReprocessRequest req = RequestReader.load(reproFile);
assertNotNull("Error unmarshalling file", req);
assertTrue(req instanceof ReprocessChartRequest);
ReprocessChartRequest sreq = (ReprocessChartRequest)req;
assertEquals(2, sreq.getChartNames().size());
}