@Test
public void testReprocessLayerMarshalling() {
// printout a sample request
ReprocessLayerRequest rsReq = new ReprocessLayerRequest();
rsReq.setLayerName("testLayerName");
rsReq.setYear("1492");
rsReq.setMonth("10");
JAXB.marshal(rsReq, System.out);
// test loading / unmarshalling request
File reproFile = loadFile("reprocess/reprocessLayer.xml");
assertNotNull("Error finding file", reproFile);
ReprocessRequest req = RequestReader.load(reproFile);
assertNotNull("Error unmarshalling file", req);
assertTrue(req instanceof ReprocessLayerRequest);
ReprocessLayerRequest sreq = (ReprocessLayerRequest)req;
assertEquals("1492", sreq.getYear());
}