BaconBuilder.MainWindowTest.SetUp C# (CSharp) Method

SetUp() private method

private SetUp ( ) : void
return void
        public void SetUp()
        {
            _view = new MainWindow();
            _model = new BaconModel();
            _controller = new MainViewController(_model, _view);
            _currentDirNodes = new TreeView().Nodes;
            Directory.CreateDirectory(TestPath);
            //_model.ChangeDirectory(TestPath);
            var tp = new FileInfo(TestPath + TestFile);
            string test = "Push me" + Environment.NewLine + "And then just touch me" + Environment.NewLine +
                          "Till I can get my satisfaction" + Environment.NewLine +
                          "Satisfaction, satisfaction, satisfaction, satifaction";
            File.WriteAllText(tp.FullName, test);
        }