コード例 #1
0
 public void SetUp()
 {
     _model = new NoteModel();
       _presenter = new NotePresenter(_model);
       _view = new NoteViewMock(_presenter);
 }
コード例 #2
0
 public void SetUp()
 {
     _view = new NoteViewMock { SaveButtonEnabled = true, ContentTextBoxValue = "Default view content"};
       _model = new NoteModel { Content = "" };
       _controller = new NoteController(_view, _model);
 }