public void SetUp()
 {
     _simulator = new SimpleSimulator();
     _userInputService = new Mock<IUserInputService>();
     _stateSaver = new Mock<StateSaver>();
     _viewModel = new MachineControlsViewModel(_simulator, _userInputService.Object, _stateSaver.Object);
 }
 public MachineControls()
 {
     InitializeComponent();
     DataContext = new MachineControlsViewModel(App.SimpleSimulator, new UserInputService(), new StateSaver());
 }