public void SetupAndRun_WhenTheresAnExceptionAtRun_Returns1ByDefault()
 {
     var sut = new FailingRunStartupMock();
     Assert.AreEqual(1, sut.SetupAndRun(null));
 }
 public void SetupAndRun_WhenCalled_CallsApplicationSetup()
 {
     FailingRunStartupMock sut = new FailingRunStartupMock();
     sut.SetupAndRun(null);
     Assert.IsTrue(sut.ApplicationSetupWasCalled);
 }