assertEquals("Wrong selection", 1, frame.home.getSelectedItems().size());
assertEquals("Selection doesn't contain the first dimension",
frame.home.getSelectedItems().get(0), firstDimensionLine);
// Move its end point to (330, 167)
tester.actionMousePress(planComponent, new ComponentLocation(new Point(280, 167)));
tester.actionMouseMove(planComponent, new ComponentLocation(new Point(320, 167)));
// Check its coordinates while Shift key isn't pressed (with magnetism)
assertEqualsDimensionLine(520, 122, 567.105f, 297.7985f, 0, firstDimensionLine);
// Check its length with magnetism
float firstDimensionLineLength = (float)Point2D.distance(
firstDimensionLine.getXStart(), firstDimensionLine.getYStart(),