public void DeserializeLabelStyleName()
        {
            String xml = addToRoot(@"<Name>Test Style</Name>" +
                                   @"<Rule><TextSymbolizer/></Rule>");
            LabelStyle labelStyle = OgcSymbologyDeserialize.LabelStyle(xml);

            Assert.AreEqual("Test Style", labelStyle.Name);
        }
        public void DeserializeLabelStyleDescription()
        {
            String xml = addToRoot(@"<Description><Title>title</Title><Abstract>abstract</Abstract></Description>" +
                                   @"<Rule><TextSymbolizer/></Rule>");
            LabelStyle labelStyle = OgcSymbologyDeserialize.LabelStyle(xml);

            Assert.IsNotNull(labelStyle.Description);
            Assert.AreEqual("title", labelStyle.Description.Title);
            Assert.AreEqual("abstract", labelStyle.Description.Abstract);
        }