p1 = new CategoryLabelPosition(
            RectangleAnchor.TOP, TextBlockAnchor.CENTER_RIGHT, 
            TextAnchor.BASELINE_LEFT, Math.PI / 4.0, 
            CategoryLabelWidthType.RANGE, 0.44f
        );
        assertFalse(p1.equals(p2));
        p2 = new CategoryLabelPosition(
            RectangleAnchor.TOP, TextBlockAnchor.CENTER_RIGHT, 
            TextAnchor.BASELINE_LEFT, Math.PI / 4.0, 
            CategoryLabelWidthType.RANGE, 0.44f
        );
        assertTrue(p1.equals(p2));

        p1 = new CategoryLabelPosition(RectangleAnchor.TOP, 
            TextBlockAnchor.CENTER, TextAnchor.BASELINE_LEFT, Math.PI / 4.0, 
            CategoryLabelWidthType.RANGE, 0.44f
        );
        assertFalse(p1.equals(p2));
        p2 = new CategoryLabelPosition(RectangleAnchor.TOP, 
            TextBlockAnchor.CENTER, TextAnchor.BASELINE_LEFT, Math.PI / 4.0, 
            CategoryLabelWidthType.RANGE, 0.44f
        );
        assertTrue(p1.equals(p2));