private void ExecuteNonCancellable(CancellationToken token, IProgressStepExecutionEvents notifier) { VerificationHelper.CheckState(this.testSubject, StepExecutionState.Executing); this.testController.IsCurrentStepCancellable.Should().BeFalse("Not expected to be cancellable"); }
private void ExecuteAndVerify(CancellationToken token, IProgressStepExecutionEvents notifier) { VerificationHelper.CheckState(this.testSubject, StepExecutionState.Executing); }
private void ExecuteAndFail(CancellationToken token, IProgressStepExecutionEvents notifier) { VerificationHelper.CheckState(this.testSubject, StepExecutionState.Executing); throw new Exception("Boom"); }