Пример #1
0
            public async Task ReturnsASingleTransitionWithAStateResult()
            {
                var state = new DeadEndState();

                var transition = await state.Start().SingleAsync();

                transition.Should().NotBeNull();
                transition.Result.Should().NotBeNull();
            }
Пример #2
0
            public void DoesNotThrowWhenNobodySubscribesToTheReturnedObservable()
            {
                var state = new DeadEndState();

                state.Start();
            }