public async Task NotifiesShortcutCreatorAboutLogout()
        {
            await interactor.Execute();

            ApplicationShortcutCreator.Received().OnLogout();
        }
Esempio n. 2
0
            public async ThreadingTask NotifiesShortcutCreatorAboutLogout()
            {
                await DataSource.Logout();

                ApplicationShortcutCreator.Received().OnLogout();
            }
            public async Task NotifiesShortcutCreatorAboutLogin()
            {
                await UserAccessManager.SignUp(Email, Password, TermsAccepted, CountryId, Timezone);

                ApplicationShortcutCreator.Received().OnLogin(Arg.Any <ITogglDataSource>());
            }
            public async Task NotifiesShortcutCreatorAboutLogin()
            {
                await UserAccessManager.LoginWithGoogle();

                ApplicationShortcutCreator.Received().OnLogin(Arg.Any <ITogglDataSource>());
            }
            public async Task NotifiesShortcutCreatorAboutLogin()
            {
                await LoginManager.Login(Email, Password);

                ApplicationShortcutCreator.Received().OnLogin(Arg.Any <ITogglDataSource>());
            }