Thread.sleep(1000); // Wait 1s to avoid double click
tester.actionMousePress(planComponent,
new ComponentLocation(new Point(30, 160)));
tester.actionMouseMove(planComponent,
new ComponentLocation(new Point(40, 160)));
tester.actionMouseRelease();
// Check the piece of furniture moved 20 cm along x axis
assertLocationAndOrientationEqualPiece(
pieceX + 20, pieceY, (float)Math.PI * 3 / 2, piece);
assertCoordinatesEqualWallPoints(40, 300, 40, 20, fifthWall);