public void AddNew() { mock.Mockery mockery = new mock.Mockery(); IProjectView mockView = this.GetMockView_AddNew(mockery); ProjectPresenter p = new ProjectPresenter(mockView); p.AddNew(null, null); Assert.That(this.dv.CurrentMode, Is.EqualTo(DetailsViewMode.Insert), "Details View should be in insert mode"); Assert.That(this.dv.Visible, Is.EqualTo(true),"Details View should be visible"); mockery.VerifyAllExpectationsHaveBeenMet(); }