sldResource.file().setLastModified(lastTime + 1000);
// force cleaning of samples cache, to get updates on files
((LegendSampleImpl)GeoServerExtensions.bean(LegendSample.class)).reloaded();
TransformerBase tr = createTransformer();
tr.setIndentation(2);
Document dom = WMSTestSupport.transform(req, tr);
NodeList legendURLs = XPATH.getMatchingNodes(
getLegendURLXPath("cite:Bridges"), dom);
assertEquals(1, legendURLs.getLength());