public void InitialTokenCancellation_WhileStateMachineHanging()
        {
            var tokenSource = new CancellationTokenSource();
            var sequence    = new TestSequence(tokenSource.Token);

            sequence.ExpectConnect(null, StreamInitializationCause.WatchStarting);
            sequence.ProvideResponse(WatchResponseResult.Continue);
            sequence.ProvideResponseHangingInStateMachine();

            Task task = sequence.RunToStability();

            tokenSource.Cancel();
            AssertTaskIsCancelledSoon(task);
            sequence.Verify();
        }