}
@Test public void testShape3() {
assertTrue(group.getShapeAt(3) instanceof IBezierCurve);
final IBezierCurve bez = (IBezierCurve) group.getShapeAt(3);
assertEquals(2, bez.getNbPoints());
assertEquals(460., bez.getPtAt(0).getX(),0.0001);
assertEquals(180., bez.getPtAt(0).getY(),0.0001);
assertEquals(580., bez.getPtAt(1).getX(),0.0001);
assertEquals(180., bez.getPtAt(1).getY(),0.0001);
assertEquals(480., bez.getFirstCtrlPtAt(0).getX(),0.0001);
assertEquals(220., bez.getFirstCtrlPtAt(0).getY(),0.0001);
assertEquals(440., bez.getSecondCtrlPtAt(0).getX(),0.0001);
assertEquals(140., bez.getSecondCtrlPtAt(0).getY(),0.0001);
assertEquals(560., bez.getFirstCtrlPtAt(1).getX(),0.0001);
assertEquals(220., bez.getFirstCtrlPtAt(1).getY(),0.0001);
assertEquals(600., bez.getSecondCtrlPtAt(1).getX(),0.0001);
assertEquals(140., bez.getSecondCtrlPtAt(1).getY(),0.0001);
assertEquals(0., bez.getRotationAngle(),0.0001);
assertFalse(bez.hasShadow());
assertFalse(bez.hasDbleBord());
assertEquals(2., bez.getThickness(),0.0001);
assertEquals(LineStyle.SOLID, bez.getLineStyle());
assertFalse(bez.isClosed());
assertEquals(BorderPos.INTO, bez.getBordersPosition());
assertEquals(FillingStyle.NONE, bez.getFillingStyle());
assertEquals(ArrowStyle.NONE, bez.getArrowStyle(0));
assertEquals(ArrowStyle.RIGHT_ARROW, bez.getArrowStyle(-1));
assertEquals(0., bez.getArrowAt(-1).getArrowInset(), 0.00001);
assertEquals(5.65, bez.getArrowAt(-1).getArrowSizeDim(), 0.01);
assertEquals(2.0, bez.getArrowAt(-1).getArrowSizeNum(), 0.00001);
assertEquals(1.4, bez.getArrowAt(-1).getArrowLength(), 0.00001);
}