public void ProjectConfigurationControllerShouldSetViewIgnore() { Mocker.ReplayAll(); ProjectConfigurationController controller = new ProjectConfigurationController(_view, _model); Mocker.VerifyAll(); }
public void ProjectConfigurationControllerShouldSetModelIgnorePAssemblyFilesChangedOnViewIgnoreAssemblyFilesChanged() { bool value = true; Expect.Call(_model.IgnoreAssemblyFiles = value).Repeat.Once(); Mocker.ReplayAll(); ProjectConfigurationController controller = new ProjectConfigurationController(_view, _model); _view.Raise(x => x.IgnoreAssemblyFilesChanged += null, this, new CheckedEventArgs(value)); Mocker.VerifyAll(); }
public ProjectConfigurationWindow(ICalidusProjectModel model) { InitializeComponent(); ProjectConfigurationController controller = new ProjectConfigurationController(projectConfigurationView, model); }