public void UnLikePost()
        {
            //Arrange
            newsFeedTester.UnlikePost(1);

            //Assert
            Assert.IsFalse(newsFeedTester.ErrorDetected);
        }
Exemple #2
0
        ///<summary>
        /// Method dislikes posts.
        ///</summary>
        private void unlikePosts()
        {
            bool like = false;

            ConsoleHelper.OutputText("Enter Post ID: ");
            int postID = ConsoleHelper.getMark(1, 10);

            newsFeed.UnlikePost(postID);
        }