public void LikePost() { //Arrange newsFeedTester.LikePost(1); //Assert Assert.IsFalse(newsFeedTester.ErrorDetected); }
///<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); }