Exemple #1
0
            public void BecomesFalseAfterDismissingTheStep()
            {
                prepareTest(stepShouldBeVisible: true, wasDismissed: false);
                Scheduler.AdvanceTo(2);
                DismissableStep.Dismiss();
                var expectedMessages = new[]
                {
                    OnNext(1, true),
                    OnNext(2, false)
                };

                observer.Messages.Should().BeEquivalentTo(expectedMessages);
            }
Exemple #2
0
            public void DismissesTheStepInOnboardingStorage()
            {
                DismissableStep.Dismiss();

                OnboardingStorage.Received().Dismiss(DismissableStep);
            }