public void SetUp() { _testShow = new FakeJointShow(OrigName1); _fakeJointShowEditorWindow = new FakeJointShowEditorWindow(_testShow); _fakeMessageShower = new FakeMessageShower(); _jointShowController = new JointShowEditorController(_fakeJointShowEditorWindow, _testShow, _fakeMessageShower); }
public Tuple<IJointShowEditorWindow, JointShowEditorController> CreateEditorWindow(IJointShow showModel) { FakeWindow = new FakeJointShowEditorWindow(showModel); FakeMessageShower = new FakeMessageShower(); FakeEditorController = new JointShowEditorController(FakeWindow, showModel, FakeMessageShower); return new Tuple<IJointShowEditorWindow, JointShowEditorController>(FakeWindow, FakeEditorController); }
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); }