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); }
public void DismissesTheStepInOnboardingStorage() { DismissableStep.Dismiss(); OnboardingStorage.Received().Dismiss(DismissableStep); }