Exemplo n.º 1
0
        public void SetUp()
        {
            var translationUpdater = new TranslationUpdater(new TranslationFactory(null), new ThreadManager());

            _httpAccount = new HttpAccount
            {
                AccountId             = new Guid().ToString(),
                Url                   = "www.pdfforge.org",
                UserName              = "******",
                Password              = "******",
                IsBasicAuthentication = true
            };

            _httpAccountInteraction = new HttpAccountInteraction(_httpAccount, "HttpAccountTestTitle");

            _viewModel = new HttpAccountViewModel(translationUpdater);
            _viewModel.SetPasswordAction = s => { };
        }