public void LogOut() { _statusProvider.Stop(); _statusUpdater.Stop(); _sessionProvider.ClearSession(); State = NestViewModelState.LoggingIn; }
private void HandleLoginException(WebServiceError error) { IsLoggedIn = false; // Missing test coverage. Set to false before true so UI updates. // How to test this? Or refactor out so not needed? IsLoggingIn = false; _sessionProvider.ClearSession(); CurrentError = error; IsLoggingIn = true; }