public void SetUp() { var translationUpdater = new TranslationUpdater(new TranslationFactory(null), new ThreadManager()); _timeServerAccount = new TimeServerAccount { AccountId = new Guid().ToString(), Url = "www.randometimeserver.org", UserName = "******", Password = "******", IsSecured = true }; _timeServerAccountInteraction = new TimeServerAccountInteraction(_timeServerAccount, "TimeServerAccountTestTitle"); _viewModel = new TimeServerAccountViewModel(translationUpdater); }
public void TimeServerAccountViewModel_CheckClass_ClassNotNull() { TimeServerAccountViewModel viewModel = new TimeServerAccountViewModel(new TranslationUpdater(new TranslationFactory(), new ThreadManager())); Assert.NotNull(viewModel); }