// what... nothing getting encoded??
}
@Test
public void testRoundTripText() throws Exception {
TextSymbolizer sym = (TextSymbolizer) parse("example-textsymbolizer-local-uom.xml");
assertEquals(NonSI.PIXEL, sym.getUnitOfMeasure());
assertEquals("10m", sym.getFont().getSize().evaluate(null, String.class));
Document doc = encode(sym, SE.TextSymbolizer);
// print(doc);
// nothing getting encoded...
}