assertSame(foreground, label.getForeground());
}
public void testProperties() throws InvocationTargetException, IllegalAccessException, IntrospectionException {
PropertyTester p = new PropertyTester(new LinearXYAxis(XYDimension.X));
p.test("textMargin", 0, 1);
p.test("showLabels", true, false);
p.test("minorTickLength", 0, 1);
p.test("majorTickLength", 0, 1);
p.test("tickMarkCalculator", new IntegerTickMarkCalculator());
p.test("format", new DecimalFormat("0.00"));
}