Exemplo n.º 1
0
        public void LikePost()
        {
            //Arrange
            newsFeedTester.LikePost(1);

            //Assert
            Assert.IsFalse(newsFeedTester.ErrorDetected);
        }
Exemplo n.º 2
0
        ///<summary>
        /// Method likes posts.
        ///</summary>
        private void likePosts()
        {
            bool like = false;

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

            newsFeed.LikePost(postID);
        }