private FeatureInfo featureInfo;
@Test
public void testSingleStyle() throws JiBXException, LayerException {
IBindingFactory bfact = BindingDirectory.getFactory(StyledLayerDescriptorInfo.class);
IUnmarshallingContext uctx = bfact.createUnmarshallingContext();
Object object = uctx.unmarshalDocument(getClass().getResourceAsStream("/org/geomajas/testdata/sld/single_layer_no_stylename.sld"), null);
StyledLayerDescriptorInfo sld = (StyledLayerDescriptorInfo) object;
NamedStyleInfo info = styleConverterService.convert(sld, featureInfo, "layer", "style");
Assert.assertNotNull(info);
Assert.assertEquals("Some title", info.getName());