public void CompleteShouldInvokeInternalCallbackTest() { var routine = new TestCallRoutine(); routine.Complete(); Assert.True(routine.WereForced); }
public void CompleteShouldInvokeNestedInternalCallbackTest() { var nestedRoutine = new TestCallRoutine(); var rootRoutine = new TestRoutine(nestedRoutine); rootRoutine.Complete(); Assert.True(nestedRoutine.IsComplete); Assert.True(nestedRoutine.WereForced); }