예제 #1
0
 public void OnCancelCallsCancelChangesFromDetailsView()
 {
     Assert.IsFalse(controller.CancelChangesCalled);
     presenter.OnCancel();
     Assert.IsTrue(controller.CancelChangesCalled);
 }
 protected void CancelButton_Click(object sender, EventArgs e)
 {
     _presenter.OnCancel();
 }