@Override@Test
public void testUpdateDblePathOutside() {
IRectangularShape model = getShape();
Path2D path;
PathIterator pi;
double[] coords = new double[6];
final double thickness = 3.;
final double height = 10.;
final double dble = 1.;
List<Double> xs = new ArrayList<>();
List<Double> ys = new ArrayList<>();
model.setPosition(-10, 20);
model.setWidth(100);
model.setThickness(thickness);
model.setDbleBordSep(dble);
model.setHeight(height);
model.setBordersPosition(BorderPos.OUT);
model.setHasDbleBord(true);
view.update();
path = view.getPath();
pi = path.getPathIterator(null);
assertEquals(PathIterator.SEG_MOVETO, pi.currentSegment(coords));
xs.add(coords[0]);
ys.add(coords[1]);
pi.next();
assertEquals(PathIterator.SEG_LINETO, pi.currentSegment(coords));