예제 #1
0
        public void SavedArticlesChangedShouldNotSaveArticle()
        {
            //Prepare
            Article article = new Article {
                contentUrl = "testurl"
            };

            _articleViewModel.Article = article;

            //Act
            _articleViewModel.CalculateIfArticleShouldBeLocked();

            //Assert
            Assert.IsFalse(article.IsSaved);
        }