PlanComponent planComponent = (PlanComponent)planController.getView();
planController.setMode(PlanController.Mode.WALL_CREATION);
// Click at (50, 50), (200, 50), (250, 100), (250, 150), (50, 150) then double click at (50, 50)
JComponentTester tester = new JComponentTester();
tester.actionClick(planComponent, 50, 50);
tester.actionClick(planComponent, 200, 50);
tester.actionClick(planComponent, 250, 100);
tester.actionClick(planComponent, 250, 150);
tester.actionClick(planComponent, 50, 150);
tester.actionClick(planComponent, 50, 50, InputEvent.BUTTON1_MASK, 2);
assertEquals("Wrong wall count in home", 5, frame.home.getWalls().size());