Ejemplo n.º 1
0
        public void Setup()
        {
            _fakeShowModel = new FakeJointShows();
            _fakeShowWindow = new FakeJointShowWindow(_fakeShowModel);
            _fakeFactory = new FakeJointShowEditorWindowFactory();
            _jointShowFakeMessageShower = new FakeMessageShower();
            _controller = new JointShowController(_fakeShowWindow, _fakeShowModel, _fakeFactory, _jointShowFakeMessageShower);

            _showTester = new JointShowTester(_fakeShowWindow, _fakeFactory);
        }
Ejemplo n.º 2
0
 private void Initialize()
 {
     _jointShowsModel = new JointShows(JointShowTester.TestFilename);
     _fakeShowWindow = new FakeJointShowWindow(_jointShowsModel);
     _fakeFactory = new FakeJointShowEditorWindowFactory();
     _controller = new JointShowController(_fakeShowWindow, _jointShowsModel, _fakeFactory, new FakeMessageShower());
     _showTester = new JointShowTester(_fakeShowWindow, _fakeFactory);
 }