FilterFactory2 filterFactory = new FilterFactoryImpl();
pointSymb.getGraphic().setSize(filterFactory.literal(size));
visitor = new UomRescaleStyleVisitor(scaleMetersToPixel);
pointSymb.accept(visitor);
PointSymbolizer rescaledPointSymb = (PointSymbolizer) visitor.getCopy();
double rescaledSize = rescaledPointSymb.getGraphic().getSize().evaluate(null, Double.class);
assertEquals(Math.round(expectedRescaledSize), Math.round(rescaledSize));
assertNotSame(rescaledPointSymb, pointSymb);