}
@Override@Test
public void testUpdateGeneralPathInside() {
ISquaredShape model = getShape();
Path2D path;
PathIterator pi;
double[] coords = new double[6];
final double thickness = 3.;
List<Double> xs = new ArrayList<>();
List<Double> ys = new ArrayList<>();
double width = 100;
model.setPosition(-10, 20);
model.setWidth(width);
model.setThickness(thickness);
model.setBordersPosition(BorderPos.INTO);
view.update();
path = view.getPath();
pi = path.getPathIterator(null);
assertEquals(PathIterator.SEG_MOVETO, pi.currentSegment(coords));