@Test
public void testUniqueSymbolAreaInstanciation() throws Exception {

    AreaParameters ap = new AreaParameters(Color.BLUE, .25, 42.0, "2", Color.CYAN, .46);
    UniqueSymbolArea usa = new UniqueSymbolArea(ap);
    assertTrue(usa.getFillLegend().getColor().equals(Color.CYAN));
    assertTrue(usa.getFillLegend().getOpacity() - .46 < EPS);
    assertTrue(usa.getStrokeLegend().getDashArray().equals("2"));
    assertTrue(usa.getStrokeLegend().getLineWidth() - 42.0 < EPS);
    assertTrue(usa.getStrokeLegend().getLineColor().equals(Color.BLUE));
    assertTrue(usa.getStrokeLegend().getLineOpacity() - .25 < EPS);
}