* @throws IOException
     */
    protected static Style loadSEStyle(Object loader, String sldFilename) throws IOException {
        try {
            final java.net.URL surl = TestData.getResource(loader, sldFilename);
            SLDConfiguration configuration = new SLDConfiguration() {
                protected void configureContext(org.picocontainer.MutablePicoContainer container) {
                    DefaultResourceLocator locator = new DefaultResourceLocator();
                    locator.setSourceUrl(surl);
                    container.registerComponentInstance(ResourceLocator.class, locator);
                };