public void WhenKnownUserLoggedIn_ThenContextShouldSwitchToMenu()
        {
            var contextSwitcher = new ContextSwitcher(this.dataBaseService.Object);

            contextSwitcher.UserLoggedIn("name", false);
            Approvals.Verify("Content = " + contextSwitcher.ViewModel.Context);
        }
        public void WhenNewUserLoggedIn_ThenContextShouldSwitchToMenu()
        {
            var contextSwitcher = new ContextSwitcher(this.dataBaseService.Object);

            contextSwitcher.UserLoggedIn("name", true);
            this.dataBaseService.Verify(x => x.InsertNewUser("name"), Times.Once, "User was not inserted in Databae");
            Approvals.Verify("Content = " + contextSwitcher.ViewModel.Context);
        }