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); }