tester.click(frame.modeButton);
// Check current mode is SELECTION
assertEquals("Current mode isn't " + PlanController.Mode.SELECTION,
PlanController.Mode.SELECTION, frame.planController.getMode());
// Give focus to plan component
tester.actionFocus(planComponent);
// Press the delete key
tester.actionKeyStroke(KeyEvent.VK_DELETE);
// Check plan contains only the first three walls
assertHomeContains(frame.home, wall1, wall2, wall3);