@Test
public void testParamsToCat() throws Exception {

    PointSymbolizer ps = new PointSymbolizer();
    CategorizedPoint cp = new CategorizedPoint(ps);
    cp.put(25.0, new PointParameters(Color.decode("#223344"), .2, 22.0, "1 1", Color.decode("#113355"), .5, 5.0, 5.0, "SQUARE"));
    MarkGraphic mg = (MarkGraphic) ps.getGraphicCollection().getGraphic(0);
    PenStroke str = (PenStroke) mg.getStroke();
    assertTrue(str.getWidth() instanceof Categorize);
    assertTrue(str.getDashArray() instanceof Categorize);
    assertTrue(((SolidFill)str.getFill()).getColor() instanceof Categorize);
    assertTrue(((SolidFill)str.getFill()).getOpacity() instanceof Categorize);
    assertTrue(((SolidFill)mg.getFill()).getColor() instanceof Categorize);
    assertTrue(((SolidFill)mg.getFill()).getOpacity() instanceof Categorize);
    assertTrue(mg.getViewBox().getWidth() instanceof Categorize);
    assertTrue(mg.getViewBox().getHeight() instanceof Categorize);
    assertTrue(mg.getWkn() instanceof Categorize);
}