tester.click(frame.modeButton);
assertEquals("Current mode isn't " + PlanController.Mode.WALL_CREATION,
PlanController.Mode.WALL_CREATION, frame.planController.getMode());
// Click at (30, 30), (270, 31), (269, 170), then double click at (30, 171)
tester.actionClick(planComponent, 30, 30);
tester.actionClick(planComponent, 270, 31);
tester.actionClick(planComponent, 269, 170);
tester.actionClick(planComponent, 30, 171, InputEvent.BUTTON1_MASK, 2);
// Check 3 walls were created at (20, 20), (500, 20), (500, 300) and (20, 300) coordinates
Wall wall1 = orderedWalls.get(0);
assertCoordinatesEqualWallPoints(20, 20, 500, 20, wall1);