public HomeController() { lawnmowerCommander = new LawnmowerCommander(); instructionsGenerator = new InstructionsGenerator(); }
public HomeController(InstructionsGenerator instructionsGenerator, ILawnmowerCommander lawnmowerCommander) { this.instructionsGenerator = instructionsGenerator; this.lawnmowerCommander = lawnmowerCommander; }
public void Setup() { instructionsGenerator = new InstructionsGenerator(); }