public void SetUp() { mockery = new MockRepository(); applicationController = mockery.DynamicMock <IApplicationController>(); tasks = mockery.DynamicMock <IDocumentTasks>(); SetupResult.For(tasks.HasAPathToSaveToBeenSpecified()).Return(true); }
public SaveAsPresenter(ISaveAsView view, IDocumentTasks tasks) { this.view = view; this.tasks = tasks; }
public void SetUp() { mockery = new MockRepository(); tasks = mockery.DynamicMock <IDocumentTasks>(); }
public SaveCommand(IApplicationController controller, IDocumentTasks tasks) { this.controller = controller; this.tasks = tasks; }